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
$(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))