summaryrefslogtreecommitdiff
path: root/repo/devel/autoconf.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/devel/autoconf.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/devel/autoconf.xibuild')
-rw-r--r--repo/devel/autoconf.xibuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/repo/devel/autoconf.xibuild b/repo/devel/autoconf.xibuild
index b61179f..8d355b5 100644
--- a/repo/devel/autoconf.xibuild
+++ b/repo/devel/autoconf.xibuild
@@ -2,12 +2,19 @@
DEPS=(awk m4 diffutils perl sh)
-SOURCE=https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.xz
+PKG_VER=2.71
+SOURCE=https://ftp.gnu.org/gnu/autoconf/autoconf-$PKG_VER.tar.xz
DESC="GNU programs for producing shell scripts that can automatically configure source code"
build () {
./configure --prefix=/usr --sysconfdir=/etc
make
+}
+
+check () {
make check
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}