summaryrefslogtreecommitdiff
path: root/repo/core/gettext.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-06 17:19:20 +0100
committerdavidovski <david@davidovski.xyz>2021-10-06 17:19:20 +0100
commit0a31fc2a959ea1230d07cfd837f5a9a945a7f80a (patch)
tree4c9aef911135753e8cdffd849c3d071167886168 /repo/core/gettext.xibuild
Initial commit, added core packages
Diffstat (limited to 'repo/core/gettext.xibuild')
-rw-r--r--repo/core/gettext.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/core/gettext.xibuild b/repo/core/gettext.xibuild
new file mode 100644
index 0000000..b1f27c3
--- /dev/null
+++ b/repo/core/gettext.xibuild
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+DEPS=(acl sh glib2)
+
+SOURCE=https://ftp.gnu.org/pub/gnu/gettext/gettext-0.21.tar.gz
+DESC="GNU internationalization library"
+
+build () {
+ ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/gettext-0.21
+ make
+ make check
+ make DESTDIR=$PKG_DEST install
+}
+
+package () {
+ chmod -v 0755 $PKG_DEST/usr/lib/preloadable_libintl.so
+}