summaryrefslogtreecommitdiff
path: root/repo/autoconf-archive/autoconf-archive.xibuild
blob: ff50482a07e3edd63ed78056fda619e8387d8bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}