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

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
}