summaryrefslogtreecommitdiff
path: root/repo/gettext/gettext.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/gettext/gettext.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
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
+}