2010-02-19 00:14:01 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2006-09-17 11:11:03 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=libexif
|
2010-04-19 07:28:33 +00:00
|
|
|
PKG_VERSION:=0.6.19
|
|
|
|
PKG_RELEASE:=1
|
2006-09-17 11:11:03 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=@SF/libexif
|
2010-04-19 07:28:33 +00:00
|
|
|
PKG_MD5SUM:=56144a030a4c875c600b1ccf713f69f7
|
2006-09-17 11:11:03 +00:00
|
|
|
|
2012-06-11 21:18:33 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2010-04-19 07:28:33 +00:00
|
|
|
PKG_INSTALL:=1
|
2010-02-19 00:14:01 +00:00
|
|
|
|
2006-09-17 11:11:03 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/libexif
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=library for jpeg files with exif tags
|
|
|
|
URL:=http://libexif.sourceforge.net/
|
|
|
|
endef
|
|
|
|
|
2008-11-28 17:47:06 +00:00
|
|
|
define Package/libexif/description
|
|
|
|
libexif is a library for parsing, editing, and saving EXIF data. It is
|
|
|
|
intended to replace lots of redundant implementations in command-line
|
|
|
|
utilities and programs with GUIs.
|
|
|
|
endef
|
|
|
|
|
2010-04-19 07:28:33 +00:00
|
|
|
CONFIGURE_ARGS+= \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-static \
|
|
|
|
--disable-rpath \
|
|
|
|
--without-libiconv-prefix \
|
|
|
|
--without-libintl-prefix \
|
2006-09-17 11:11:03 +00:00
|
|
|
|
2008-08-06 22:43:15 +00:00
|
|
|
TARGET_CFLAGS += $(FPIC)
|
|
|
|
|
2006-09-17 11:11:03 +00:00
|
|
|
define Build/InstallDev
|
2009-06-24 22:31:33 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
2007-10-07 03:20:26 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/libexif $(1)/usr/include/
|
2009-06-24 22:31:33 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2007-10-07 03:20:26 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libexif*.{a,so*} $(1)/usr/lib/
|
2010-12-17 05:14:28 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libexif.pc $(1)/usr/lib/pkgconfig/
|
2006-09-17 11:11:03 +00:00
|
|
|
endef
|
|
|
|
|
2006-10-30 13:51:50 +00:00
|
|
|
define Package/libexif/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2006-10-30 13:51:50 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libexif*.so.* $(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
2006-09-17 11:11:03 +00:00
|
|
|
$(eval $(call BuildPackage,libexif))
|