summaryrefslogtreecommitdiff
path: root/repo/devel/autoconf-archive.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-01 21:25:54 +0000
committerdavidovski <david@davidovski.xyz>2022-03-01 21:25:54 +0000
commite8213fac46bfcb8068a883cb88b2bb1587f190f9 (patch)
tree8ec5946d18961404efb12700267e10cffffa6db7 /repo/devel/autoconf-archive.xibuild
parent79c82d8fc0a4f6618429a0373bb832afd105543e (diff)
made packages work with musl
Diffstat (limited to 'repo/devel/autoconf-archive.xibuild')
-rw-r--r--repo/devel/autoconf-archive.xibuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/devel/autoconf-archive.xibuild b/repo/devel/autoconf-archive.xibuild
new file mode 100644
index 0000000..ff50482
--- /dev/null
+++ b/repo/devel/autoconf-archive.xibuild
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="gawk grep m4 diffutils perl sh gettext"
+
+PKG_VER=2022.02.11
+SOURCE=https://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-$PKG_VER.tar.xz
+DESC="A collection of freely re-usable autoconf macros"
+
+
+build () {
+ ./configure --prefix=/usr
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+
+ # force these macros to use gnu grep rather than built in grep
+ sed -i "s/grep/ggrep/g" $PKG_DEST/usr/share/aclocal/*.m4
+}