summaryrefslogtreecommitdiff
path: root/repo/devel/automake.xibuild
blob: 4e1485b770e4707d72a6306645589c33ff88592a (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 )
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
}