summaryrefslogtreecommitdiff
path: root/templates/gettext
diff options
context:
space:
mode:
author0x221E2026-06-14 14:06:45 +0200
committer0x221E2026-06-14 14:06:45 +0200
commitcacee711ffebd105827ce8b35e4c13a4e674538a (patch)
tree94bd8c29c08a8acb2b8e9e17531e79d02781bafb /templates/gettext
initial commit
Diffstat (limited to 'templates/gettext')
-rw-r--r--templates/gettext/template30
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/gettext/template b/templates/gettext/template
new file mode 100644
index 0000000..d4e56f5
--- /dev/null
+++ b/templates/gettext/template
@@ -0,0 +1,30 @@
+pkgname=gettext
+version=1.0
+build_no=1
+upstream="${MIRROR_GNU_FTP}/gettext/gettext-${version}.tar.gz"
+
+function do_configure {
+ mkdir build/
+ cd build/
+
+ conf_flags=(
+ --prefix=/usr
+ --host=${DISTRO_TC}
+ --disable-nls
+ --disable-rpath
+ --without-selinux
+ --without-libsmack
+ )
+
+ ../configure "${conf_flags[@]}"
+}
+
+function do_build {
+ cd build/
+ make -j$(nproc)
+}
+
+function do_install {
+ cd build/
+ make DESTDIR=${DESTDIR} install
+}