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.gz
16 PKG_SOURCE_URL
:=@GNU
/gettext
17 PKG_MD5SUM
:=3d9ad24301c6d6b17ec30704a13fe127
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/libintl
26 TITLE
:=GNU Internationalization library
27 URL
:=http
://www.gnu.org
/software
/gettext
/
30 TARGET_CFLAGS
+= $(FPIC
)
38 --disable-native-java \
40 --with-included-gettext \
41 --without-libintl-prefix \
42 --without-libexpat-prefix \
46 $(MAKE
) -C
$(PKG_BUILD_DIR
) DESTDIR
="$(PKG_INSTALL_DIR)" all install
49 define Build
/InstallDev
50 mkdir
-p
$(1)/usr
/lib
/libintl
/include
51 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/include/libintl.h
$(1)/usr
/lib
/libintl
/include/
52 mkdir
-p
$(1)/usr
/lib
/libintl
/lib
53 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/libintl.
{a
,so
*} $(1)/usr
/lib
/libintl
/lib
/
56 define Package
/libintl
/install
57 $(INSTALL_DIR
) $(1)/usr
/lib
58 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/libintl.so.
* $(1)/usr
/lib
/
61 $(eval
$(call BuildPackage
,libintl
))