From 96e7b07685f6ab0cc218ecf97da1ffadb5bba6a5 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 12 Jun 2012 01:57:13 +0000 Subject: [PATCH] libgphoto2: fix dependencies, remove libusb-0.1 plugin git-svn-id: svn://svn.openwrt.org/openwrt/packages@32261 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/libgphoto2/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/libgphoto2/Makefile b/libs/libgphoto2/Makefile index 2ef80ce7a..cc45ece13 100644 --- a/libs/libgphoto2/Makefile +++ b/libs/libgphoto2/Makefile @@ -30,14 +30,14 @@ endef define Package/libgphoto2 $(call Package/libgphoto2/Default) - DEPENDS:=+libusb +libexif +libjpeg +libpthread +libltdl $(ICONV_DEPENDS) + DEPENDS:=+libexif +libjpeg +libpthread +libltdl $(ICONV_DEPENDS) TITLE:=The basic library of the gphoto2 program. MENU:=1 endef define Package/libgphoto2-drivers $(call Package/libgphoto2/Default) - DEPENDS:=libgphoto2 + DEPENDS:=libgphoto2 +libusb-1.0 +libgd TITLE:=Gphoto2 drivers for various cameras endef @@ -96,6 +96,7 @@ define Package/libgphoto2-drivers/install $(INSTALL_DIR) $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgphoto2{,_port} $(1)/usr/lib/ rm -rf $(1)/usr/lib/libgphoto2{,_port}/*/*.{,l}a + rm -f $(1)/usr/lib/libgphoto2_port/*/usb.so endef $(eval $(call BuildPackage,libgphoto2))