# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id: $
+# $Id$
include $(TOPDIR)/rules.mk
CATEGORY:=Multimedia
DEPENDS:=+libexif +libgphoto2 +libltdl +libpopt +libpthread
TITLE:=Gphoto Digital Camera Control
- DESCRIPTION:=For downloading and controlling digital cameras
URL:=http://www.gphoto.org/
endef
-BIG_ENDIAN:=no
-ifeq ($(CONFIG_BIG_ENDIAN),y)
- BIG_ENDIAN:=yes
-endif
+define Package/gphoto2/description
+For downloading and controlling digital cameras
+endef
define Build/Configure
$(call Build/Configure/Default, \
LIBEXIF_LIBS="$$$$LDFLAGS -lexif" \
POPT_CFLAGS="$$$$CFLAGS $$$$CPPFLAGS" \
POPT_LIBS="$$$$LDFLAGS -lpopt" \
- ac_cv_c_bigendian="$(BIG_ENDIAN)" \
- ac_cv_func_malloc_0_nonnull=yes \
)
endef
endef
define Package/gphoto2/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/gphoto2 $(1)/usr/bin/
endef