From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/devel/automake.xibuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'repo/devel/automake.xibuild') 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 } -- cgit v1.2.1