aboutsummaryrefslogtreecommitdiffstats
path: root/package/libusb
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-24 00:44:43 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-24 00:44:43 +0000
commit40db185bd7e4566cc9d8c5ec5ad5a2147e151e6a (patch)
treed4f429fb32180e7ed41ac9ae329a8028801c55d0 /package/libusb
parentb06ec80d6ebbf75db11cd7d8fb54c88f6db74ef7 (diff)
downloadupstream-40db185bd7e4566cc9d8c5ec5ad5a2147e151e6a.tar.gz
upstream-40db185bd7e4566cc9d8c5ec5ad5a2147e151e6a.tar.bz2
upstream-40db185bd7e4566cc9d8c5ec5ad5a2147e151e6a.zip
Fix uninstall-dev: remove libusb-config lib, remove all libusb-* shared libs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1039 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libusb')
-rw-r--r--package/libusb/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/libusb/Makefile b/package/libusb/Makefile
index 9420cb6da8..8d22a43f7a 100644
--- a/package/libusb/Makefile
+++ b/package/libusb/Makefile
@@ -72,13 +72,15 @@ $(STAGING_DIR)/usr/lib/libusb.so: $(PKG_BUILD_DIR)/.libs/libusb.so
cp -fpR $(PKG_INSTALL_DIR)/usr/include/usb.h $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libusb*.{a,so*} $(STAGING_DIR)/usr/lib/
- touch $(STAGING_DIR)/usr/lib/libusb.so
+ touch $@
install-dev: $(STAGING_DIR)/usr/lib/libusb.so
uninstall-dev:
- rm -rf $(STAGING_DIR)/usr/include/usb.h
- rm -rf $(STAGING_DIR)/usr/lib/libusb.{a,so*}
+ rm -rf \
+ $(STAGING_DIR)/usr/bin/libusb-config \
+ $(STAGING_DIR)/usr/include/usb.h \
+ $(STAGING_DIR)/usr/lib/libusb*.{a,so*} \
compile: install-dev
clean: uninstall-dev