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

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
}