summaryrefslogtreecommitdiff
path: root/repo/devel/automake.xibuild
blob: afb4c7b59b257fffc3c857ef9f3d3783de4c2262 (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/bash

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
}

package () {
    make DESTDIR=$PKG_DEST install

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