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
:=56144a030a4c875c600b1ccf713f69f7
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/libexif
26 TITLE
:=library for jpeg files with exif
tags
27 URL
:=http
://libexif.sourceforge.net
/
30 define Package
/libexif
/description
31 libexif is a library for parsing
, editing
, and saving EXIF data. It is
32 intended to replace lots of redundant implementations in command-line
33 utilities and programs with GUIs.
40 --without-libiconv-prefix \
41 --without-libintl-prefix \
43 TARGET_CFLAGS
+= $(FPIC
)
45 define Build
/InstallDev
46 $(INSTALL_DIR
) $(1)/usr
/include
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libexif
$(1)/usr
/include/
48 $(INSTALL_DIR
) $(1)/usr
/lib
49 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libexif
*.
{a
,so
*} $(1)/usr
/lib
/
50 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libexif.
pc $(1)/usr
/lib
/pkgconfig
/
54 define Package
/libexif
/install
55 $(INSTALL_DIR
) $(1)/usr
/lib
56 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libexif
*.so.
* $(1)/usr
/lib
/
59 $(eval
$(call BuildPackage
,libexif
))