2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=@SF
/libexif
17 PKG_MD5SUM
:=deee153b1ded5a944ea05d041d959eca
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/libexif
24 TITLE
:=library for jpeg files with exif
tags
25 URL
:=http
://libexif.sourceforge.net
/
28 define Package
/libexif
/description
29 libexif is a library for parsing
, editing
, and saving EXIF data. It is
30 intended to replace lots of redundant implementations in command-line
31 utilities and programs with GUIs.
34 define Build
/Configure
35 $(call Build
/Configure
/Default
, \
39 --without-libiconv-prefix \
40 --without-libintl-prefix \
44 TARGET_CFLAGS
+= $(FPIC
)
47 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
48 DESTDIR
="$(PKG_INSTALL_DIR)" \
52 define Build
/InstallDev
53 mkdir
-p
$(1)/usr
/include
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libexif
$(1)/usr
/include/
56 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libexif
*.
{a
,so
*} $(1)/usr
/lib
/
59 define Package
/libexif
/install
60 $(INSTALL_DIR
) $(1)/usr
/lib
61 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libexif
*.so.
* $(1)/usr
/lib
/
64 $(eval
$(call BuildPackage
,libexif
))