X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/87800feec6aebaa143c2b02ca67242f8ac7853ad..036a55d69a3e520d829be2e4324bed98e472a963:/package/speex/Makefile diff --git a/package/speex/Makefile b/package/speex/Makefile index 5bacda30e..a79ee02da 100644 --- a/package/speex/Makefile +++ b/package/speex/Makefile @@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,LIBSPEEX,libspeex,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared +$(PKG_BUILD_DIR)/.configured: (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(strip $(TARGET_CFLAGS))" \ @@ -61,7 +61,7 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_LIBSPEEX): install -d -m0755 $(IDIR_LIBSPEEX)/usr/lib - cp -fp $(PKG_INSTALL_DIR)/usr/lib/libspeex.so.* $(IDIR_LIBSPEEX)/usr/lib/ + cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libspeex.so.* $(IDIR_LIBSPEEX)/usr/lib/ $(RSTRIP) $(IDIR_LIBSPEEX) $(IPKG_BUILD) $(IDIR_LIBSPEEX) $(PACKAGE_DIR) @@ -69,9 +69,9 @@ $(STAGING_DIR)/usr/lib/libspeex.so: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/include cp -fpR $(PKG_INSTALL_DIR)/usr/include/speex $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/lib - cp -fp $(PKG_INSTALL_DIR)/usr/lib/libspeex.{a,so*} $(STAGING_DIR)/usr/lib/ + cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libspeex.{a,so*} $(STAGING_DIR)/usr/lib/ mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig - cp -fp $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/speex.pc $(STAGING_DIR)/usr/lib/pkgconfig/ + cp -fpR $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/speex.pc $(STAGING_DIR)/usr/lib/pkgconfig/ touch $@ install-dev: $(STAGING_DIR)/usr/lib/libspeex.so @@ -82,5 +82,5 @@ uninstall-dev: $(STAGING_DIR)/usr/lib/libspeex.{a,so*} \ $(STAGING_DIR)/usr/lib/pkgconfig/speex.pc \ -compile: install-dev -clean: uninstall-dev +compile-targets: install-dev +clean-targets: uninstall-dev