0
0
mirror of https://github.com/openwrt/packages.git synced 2025-10-03 14:00:34 +00:00
Files
packages/multimedia/gphoto2/Makefile
Rosen Penev c652fb04c5 gphoto2: update to 2.5.32
Fixes compilation with GCC15.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2025-09-20 23:21:48 +08:00

54 lines
1.2 KiB
Makefile

#
# Copyright (C) 2006-2012 OpenWrt.org
# Copyright (C) 2017 Leonardo Medici
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=gphoto2
PKG_VERSION:=2.5.32
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/gphoto
PKG_HASH:=4e379a0f12f72b49ee5ee2283ffd806b5d12d099939d75197a3f4bbc7f27a1a1
PKG_MAINTAINER:=Leonardo Medici <leonardo_medici@me.com>
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
define Package/gphoto2
SECTION:=multimedia
CATEGORY:=Multimedia
TITLE:=Gphoto Digital Camera Control
URL:=http://www.gphoto.org/
DEPENDS:=+libgphoto2 +libpopt +libreadline +libncurses +libexif +libjpeg
endef
define Package/gphoto2/description
For downloading and controlling digital cameras
endef
CONFIGURE_ARGS += \
--without-aalib
CONFIGURE_VARS += \
POPT_CFLAGS="-I$(STAGING_DIR)/usr/include" \
POPT_LIBS="-L$(STAGING_DIR)/usr/lib -lpopt"
define Package/gphoto2/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
endef
$(eval $(call BuildPackage,gphoto2))