source: packages/multimedia/gphoto2/Makefile @ 21035

Last change on this file since 21035 was 21035, checked in by nico, 6 years ago

[packages] gphoto2: update to 2.4.9

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