2 # Copyright (C) 2006-2009 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
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/libexif
23 TITLE
:=library for jpeg files with exif
tags
24 URL
:=http
://libexif.sourceforge.net
/
27 define Package
/libexif
/description
28 libexif is a library for parsing
, editing
, and saving EXIF data. It is
29 intended to replace lots of redundant implementations in command-line
30 utilities and programs with GUIs.
33 define Build
/Configure
34 $(call Build
/Configure
/Default
, \
38 --without-libiconv-prefix \
39 --without-libintl-prefix \
43 TARGET_CFLAGS
+= $(FPIC
)
46 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
47 DESTDIR
="$(PKG_INSTALL_DIR)" \
51 define Build
/InstallDev
52 $(INSTALL_DIR
) $(1)/usr
/include
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libexif
$(1)/usr
/include/
54 $(INSTALL_DIR
) $(1)/usr
/lib
55 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libexif
*.
{a
,so
*} $(1)/usr
/lib
/
58 define Package
/libexif
/install
59 $(INSTALL_DIR
) $(1)/usr
/lib
60 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libexif
*.so.
* $(1)/usr
/lib
/
63 $(eval
$(call BuildPackage
,libexif
))