From: Felix Fietkau Date: Tue, 12 Jun 2012 01:57:13 +0000 (+0000) Subject: libgphoto2: fix dependencies, remove libusb-0.1 plugin X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=87ee4757e66116d727c49ac3be1d97743e24997b;p=openwrt%2Fsvn-archive%2Fpackages.git libgphoto2: fix dependencies, remove libusb-0.1 plugin SVN-Revision: 32261 --- 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))