2 # Copyright (C) 2006-2010 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
:=f7cf4e623a48c9a3b13f7f95f0a41015
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/libexif
25 TITLE
:=library for jpeg files with exif
tags
26 URL
:=http
://libexif.sourceforge.net
/
29 define Package
/libexif
/description
30 libexif is a library for parsing
, editing
, and saving EXIF data. It is
31 intended to replace lots of redundant implementations in command-line
32 utilities and programs with GUIs.
35 define Build
/Configure
36 $(call Build
/Configure
/Default
, \
40 --without-libiconv-prefix \
41 --without-libintl-prefix \
45 TARGET_CFLAGS
+= $(FPIC
)
48 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
49 DESTDIR
="$(PKG_INSTALL_DIR)" \
53 define Build
/InstallDev
54 $(INSTALL_DIR
) $(1)/usr
/include
55 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libexif
$(1)/usr
/include/
56 $(INSTALL_DIR
) $(1)/usr
/lib
57 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libexif
*.
{a
,so
*} $(1)/usr
/lib
/
60 define Package
/libexif
/install
61 $(INSTALL_DIR
) $(1)/usr
/lib
62 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libexif
*.so.
* $(1)/usr
/lib
/
65 $(eval
$(call BuildPackage
,libexif
))