summaryrefslogtreecommitdiff
path: root/repo/gettext/gettext.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/gettext/gettext.xibuild')
-rw-r--r--repo/gettext/gettext.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/gettext/gettext.xibuild b/repo/gettext/gettext.xibuild
new file mode 100644
index 0000000..8da13a5
--- /dev/null
+++ b/repo/gettext/gettext.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="acl sh"
+
+PKG_VER=0.3.2
+SOURCE=https://ftp.barfooze.de/pub/sabotage/tarballs/gettext-tiny-$PKG_VER.tar.xz
+DESC="Lightweight replacement for tools used in the GNU gettext suite"
+
+ADDITIONAL="
+ line-length.patch
+ respect-cflags.patch
+ flip-macro-logic.patch
+ fix-xgettext-version-string.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build () {
+ LIBINTL=MUSL prefix=/usr make
+}
+
+package () {
+ make LIBINTL=MUSL prefix=/usr DESTDIR=$PKG_DEST install
+}