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.gz
15 PKG_SOURCE_URL
:=@GNU
/gettext
16 PKG_MD5SUM
:=3d9ad24301c6d6b17ec30704a13fe127
21 include $(INCLUDE_DIR
)/package.mk
24 define Package
/libintl
27 TITLE
:=GNU Internationalization library
28 URL
:=http
://www.gnu.org
/software
/gettext
/
31 TARGET_CFLAGS
+= $(FPIC
)
39 --disable-native-java \
41 --with-included-gettext \
42 --without-libintl-prefix \
43 --without-libexpat-prefix \
46 define Build
/InstallDev
47 $(INSTALL_DIR
) $(1)/usr
/lib
/libintl
/include
48 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/include/libintl.h
$(1)/usr
/lib
/libintl
/include/
49 $(INSTALL_DIR
) $(1)/usr
/lib
/libintl
/lib
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libintl.
{a
,so
*} $(1)/usr
/lib
/libintl
/lib
/
52 $(INSTALL_DIR
) $(1)/usr
/share
/aclocal
54 $(PKG_INSTALL_DIR
)/usr
/share
/aclocal
/* \
55 $(1)/usr
/share
/aclocal
/
58 define Package
/libintl
/install
59 $(INSTALL_DIR
) $(1)/usr
/lib
60 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libintl.so.
* $(1)/usr
/lib
/
63 $(eval
$(call BuildPackage
,libintl
))