summaryrefslogtreecommitdiff
path: root/package/gettext
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/gettext
Initial import
Diffstat (limited to 'package/gettext')
-rw-r--r--package/gettext/Config.in6
-rw-r--r--package/gettext/Makefile40
-rw-r--r--package/gettext/ipkg/gettext.control5
3 files changed, 51 insertions, 0 deletions
diff --git a/package/gettext/Config.in b/package/gettext/Config.in
new file mode 100644
index 000000000..86fd858bb
--- /dev/null
+++ b/package/gettext/Config.in
@@ -0,0 +1,6 @@
+config ADK_PACKAGE_GETTEXT
+ prompt "gettext........................... internationalisation library"
+ tristate
+ default n
+ help
+ GNU gettext
diff --git a/package/gettext/Makefile b/package/gettext/Makefile
new file mode 100644
index 000000000..dd50230af
--- /dev/null
+++ b/package/gettext/Makefile
@@ -0,0 +1,40 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME= gettext
+PKG_VERSION= 0.16.1
+PKG_RELEASE= 1
+PKG_MD5SUM= 3d9ad24301c6d6b17ec30704a13fe127
+MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
+WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}/gettext-runtime
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,GETTEXT,gettext,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= --disable-java \
+ --disable-native-java \
+ --disable-csharp \
+ --enable-nls \
+ --disable-libasprintf \
+ --enable-threads=posix \
+ --disable-openmp \
+ --with-libiconv-prefix='${STAGING_DIR}/usr' \
+ --with-included-gettext \
+ --without-emacs
+CONFIGURE_ENV+= nls_cv_use_gnu_gettext=yes \
+ ac_cv_gnu_library_2=no \
+ gt_use_preinstalled_gnugettext=no
+BUILD_STYLE= auto
+INSTALL_STYLE= auto confprog
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_GETTEXT}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/*.so.* ${IDIR_GETTEXT}/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gettext/ipkg/gettext.control b/package/gettext/ipkg/gettext.control
new file mode 100644
index 000000000..f963cda74
--- /dev/null
+++ b/package/gettext/ipkg/gettext.control
@@ -0,0 +1,5 @@
+Package: gettext
+Priority: optional
+Section: libs
+Depends: libiconv, libpthread
+Description: internationalisation library