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
:=1b1e2b495c5aa20c08725f30545a110b
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 Build
/Configure
29 $(call Build
/Configure
/Default
, \
33 --without-libiconv-prefix \
34 --without-libintl-prefix \
38 TARGET_CFLAGS
+= $(FPIC
)
41 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
42 DESTDIR
="$(PKG_INSTALL_DIR)" \
46 define Build
/InstallDev
47 mkdir
-p
$(1)/usr
/include
48 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libexif
$(1)/usr
/include/
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libexif
*.
{a
,so
*} $(1)/usr
/lib
/
53 define Package
/libexif
/install
54 $(INSTALL_DIR
) $(1)/usr
/lib
55 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libexif
*.so.
* $(1)/usr
/lib
/
58 $(eval
$(call BuildPackage
,libexif
))