# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id: $
+# $Id$
include $(TOPDIR)/rules.mk
URL:=http://www.gphoto.org/
endef
-BIG_ENDIAN:=no
-ifeq ($(ARCH),mips)
- BIG_ENDIAN:=yes
-endif
-ifeq ($(ARCH),armeb)
- BIG_ENDIAN:=yes
-endif
-ifeq ($(ARCH),powerpc)
- BIG_ENDIAN:=yes
-endif
-
define Build/Configure
$(call Build/Configure/Default, \
--without-libiconv-prefix \
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