libgphoto2: fix dependencies, remove libusb-0.1 plugin
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32261 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d00384e60a
commit
96e7b07685
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user