summaryrefslogtreecommitdiff
path: root/repo/devel/automake.xibuild
blob: 8b8951fbda9cf478b0559d0a49c043442e5bc34e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

MAKEDEPS="make autoconf"
DEPS="perl bash"

PKG_VER=1.16.5
SOURCE=https://ftp.gnu.org/gnu/automake/automake-$PKG_VER.tar.xz
DESC="A GNU tool for automatically creating Makefiles"

build () {
    ./configure --prefix=/usr -docdir=/usr/share/doc/automake-$PKG_VER
    make
}

#check () {
    #make -j4 check || true
#}

package () {
    make DESTDIR=$PKG_DEST install

    # backwards compatibility?
    ln -s /usr/bin/aclocal $PKG_DEST/usr/bin/aclocal-1.15
}