diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-09-20 07:41:52 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-09-20 07:41:52 +0000 |
commit | aa32e4618ec6c999e98e393343669a6d8c7defbd (patch) | |
tree | 2ab6291ca03ca48ba1a0845138d089ec4974cbdc /package/libdnet/Makefile | |
parent | 2df91147fcb329a8e373bf0dd1ae6b4a289b25ec (diff) | |
download | upstream-aa32e4618ec6c999e98e393343669a6d8c7defbd.tar.gz upstream-aa32e4618ec6c999e98e393343669a6d8c7defbd.tar.bz2 upstream-aa32e4618ec6c999e98e393343669a6d8c7defbd.zip |
fix dnet-config (remove references to /usr/{include,lib}),
only install and remove what's needed in staging_dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1962 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libdnet/Makefile')
-rw-r--r-- | package/libdnet/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/package/libdnet/Makefile b/package/libdnet/Makefile index e47b34aff4..5501b6bd98 100644 --- a/package/libdnet/Makefile +++ b/package/libdnet/Makefile @@ -76,9 +76,10 @@ $(STAGING_DIR)/usr/lib/libdnet.so: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/bin cp -fpR $(PKG_INSTALL_DIR)/usr/bin/dnet-config $(STAGING_DIR)/usr/bin/ mkdir -p $(STAGING_DIR)/usr/include - cp -fpR $(PKG_INSTALL_DIR)/usr/include/dnet* $(STAGING_DIR)/usr/include/ + cp -fpR $(PKG_INSTALL_DIR)/usr/include/dnet.h $(STAGING_DIR)/usr/include/ + cp -fpR $(PKG_INSTALL_DIR)/usr/include/dnet $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libdnet.* $(STAGING_DIR)/usr/lib/ + cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libdnet.{a,so*} $(STAGING_DIR)/usr/lib/ touch $@ install-dev: $(STAGING_DIR)/usr/lib/libdnet.so @@ -86,8 +87,9 @@ install-dev: $(STAGING_DIR)/usr/lib/libdnet.so uninstall-dev: rm -rf \ $(STAGING_DIR)/usr/bin/dnet-config \ - $(STAGING_DIR)/usr/include/dnet* \ - $(STAGING_DIR)/usr/lib/libdnet.* \ + $(STAGING_DIR)/usr/include/dnet.h \ + $(STAGING_DIR)/usr/include/dnet \ + $(STAGING_DIR)/usr/lib/libdnet.{a,so*} \ compile: install-dev clean: uninstall-dev |