summaryrefslogtreecommitdiff
path: root/repo/devel/m4.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/m4.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/devel/m4.xibuild')
-rw-r--r--repo/devel/m4.xibuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/repo/devel/m4.xibuild b/repo/devel/m4.xibuild
index 409c9a3..bdab7c6 100644
--- a/repo/devel/m4.xibuild
+++ b/repo/devel/m4.xibuild
@@ -2,13 +2,20 @@
DEPS=(glibc bash)
-SOURCE=https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz
+PKG_VER=1.4.19
+SOURCE=https://ftp.gnu.org/gnu/m4/m4-$PKG_VER.tar.xz
DESC="The gnu m4 macro processor"
build () {
./configure --prefix=/usr
make
+}
+
+check () {
make check
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}