source: packages/multimedia/gphoto2/Makefile @ 10862

Last change on this file since 10862 was 10862, checked in by olli, 9 years ago

[Packages] libs/libgphoto2 & multimedia/gphoto2: Update to 2.4.1

  • Property copyright set to Copyright (C) 2006-2008 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1#
2# Copyright (C) 2006-2008 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# $Id$
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=gphoto2
12PKG_VERSION:=2.4.1
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16PKG_SOURCE_URL:=@SF/gphoto
17PKG_MD5SUM:=fba6cf5f5d6a23569d97f4f6896d5e09
18
19PKG_FIXUP = libtool
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/gphoto2
24  SECTION:=multimedia
25  CATEGORY:=Multimedia
26  DEPENDS:=+libexif +libgphoto2 +libltdl +libpopt +libpthread
27  TITLE:=Gphoto Digital Camera Control
28  URL:=http://www.gphoto.org/
29endef
30
31define Package/gphoto2/description
32        For downloading and controlling digital cameras
33endef
34
35CONFIGURE_ARGS += \
36        --without-libiconv-prefix \
37        --without-libintl-prefix \
38
39CONFIGURE_VARS += \
40        LIBGPHOTO2_CFLAGS="$$$$CFLAGS -I$(STAGING_DIR)/usr/include/gphoto2 $$$$CPPFLAGS" \
41        LIBGPHOTO2_LIBS="$$$$LDFLAGS -lgphoto2 -lgphoto2_port -lltdl" \
42        LIBEXIF_CFLAGS="$$$$CFLAGS $$$$CPPFLAGS" \
43        LIBEXIF_LIBS="$$$$LDFLAGS -lexif" \
44        POPT_CFLAGS="$$$$CFLAGS $$$$CPPFLAGS" \
45        POPT_LIBS="$$$$LDFLAGS -lpopt" \
46
47define Package/gphoto2/install
48        $(INSTALL_DIR) $(1)/usr/bin
49        $(INSTALL_BIN) $(PKG_BUILD_DIR)/gphoto2/$(PKG_NAME) $(1)/usr/bin/
50endef
51
52$(eval $(call BuildPackage,gphoto2))
Note: See TracBrowser for help on using the repository browser.