diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
commit | 003727289cc45e29eff0c0c48ad0f9660f96644f (patch) | |
tree | 0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/devel/automake.xibuild | |
parent | d2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff) |
separated patch, build, check and package stages
Diffstat (limited to 'repo/devel/automake.xibuild')
-rw-r--r-- | repo/devel/automake.xibuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/repo/devel/automake.xibuild b/repo/devel/automake.xibuild index f83fc62..2d65042 100644 --- a/repo/devel/automake.xibuild +++ b/repo/devel/automake.xibuild @@ -2,17 +2,22 @@ DEPS=(perl bash) -SOURCE=https://ftp.gnu.org/gnu/automake/automake-1.16.5.tar.xz +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-1.16.5 + ./configure --prefix=/usr -docdir=/usr/share/doc/automake-$PKG_VER make +} + +check () { make -j4 check - make DESTDIR=$PKG_DEST install } package () { + make DESTDIR=$PKG_DEST install + # backwards compatibility? ln -s /usr/bin/aclocal $PKG_DEST/usr/bin/aclocal-1.15 } |