summaryrefslogtreecommitdiff
path: root/package/gettext
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-08 06:16:52 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-09 16:26:38 +0200
commitcd0a0087f91ced2ee3fe56f6afce4f1a51b1b119 (patch)
treebb3d13a087d8168df263fef9f1acee52215634f3 /package/gettext
parentd16a4727c132db8d358e92e7a6f57542de26a3ff (diff)
systemd: add new package and needed gettext, only compile time tested
Diffstat (limited to 'package/gettext')
-rw-r--r--package/gettext/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/gettext/Makefile b/package/gettext/Makefile
new file mode 100644
index 000000000..5ab5bb152
--- /dev/null
+++ b/package/gettext/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= gettext
+PKG_VERSION:= 0.19.8
+PKG_RELEASE:= 1
+PKG_HASH:= 9c1781328238caa1685d7bc7a2e1dcf1c6c134e86b42ed554066734b621bd12f
+PKG_DESCR:= i18n tools and libs
+PKG_SECTION:= libs/misc
+PKG_URL:= https://www.gnu.org/software/gettext/
+PKG_SITES:= http://ftp.gnu.org/pub/gnu/gettext/
+PKG_OPTS:= dev
+
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,GETTEXT,gettext,$(PKG_VERSION)-$(PKG_RELEASE)))
+$(eval $(call PKG_template,GETTEXT,gettext,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+gettext-install:
+ $(INSTALL_DIR) $(IDIR_GETTEXT)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libgettext*.so* \
+ $(IDIR_GETTEXT)/usr/lib
+
+include $(ADK_TOPDIR)/mk/host-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk