2 # Copyright (C) 2006-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=@SF/libexif
16 PKG_MD5SUM:=27339b89850f28c8f1c237f233e05b27
19 PKG_LICENSE_FILES:=COPYING
24 include $(INCLUDE_DIR)/package.mk
26 define Package/libexif
29 TITLE:=library for jpeg files with exif tags
30 URL:=http://libexif.sourceforge.net/
33 define Package/libexif/description
34 libexif is a library for parsing, editing, and saving EXIF data. It is
35 intended to replace lots of redundant implementations in command-line
36 utilities and programs with GUIs.
43 --without-libiconv-prefix \
44 --without-libintl-prefix \
46 TARGET_CFLAGS += $(FPIC)
48 define Build/InstallDev
49 $(INSTALL_DIR) $(1)/usr/include
50 $(CP) $(PKG_INSTALL_DIR)/usr/include/libexif $(1)/usr/include/
51 $(INSTALL_DIR) $(1)/usr/lib
52 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libexif*.{a,so*} $(1)/usr/lib/
53 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
54 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libexif.pc $(1)/usr/lib/pkgconfig/
57 define Package/libexif/install
58 $(INSTALL_DIR) $(1)/usr/lib
59 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libexif*.so.* $(1)/usr/lib/
62 $(eval $(call BuildPackage,libexif))