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/dejagnu.xibuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'repo/devel/dejagnu.xibuild') diff --git a/repo/devel/dejagnu.xibuild b/repo/devel/dejagnu.xibuild index 21a35a4..43c2002 100644 --- a/repo/devel/dejagnu.xibuild +++ b/repo/devel/dejagnu.xibuild @@ -2,7 +2,8 @@ DEPS=(sh expect) -SOURCE=https://ftp.gnu.org/gnu/dejagnu/dejagnu-1.6.3.tar.gz +PKG_VER=1.6.3 +SOURCE=https://ftp.gnu.org/gnu/dejagnu/dejagnu-$PKG_VER.tar.gz DESC="a framework for running test suites on GNU tools" build () { @@ -13,11 +14,13 @@ build () { makeinfo --html --no-split -o doc/dejagnu.html ../doc/dejagnu.texi makeinfo --plaintext -o doc/dejagnu.txt ../doc/dejagnu.texi +} +package () { make DESTDIR=$PKG_DEST install - install -v -dm755 $PKG_DEST/usr/share/doc/dejagnu-1.6.3 - install -v -m644 doc/dejagnu.{html,txt} $PKG_DEST/usr/share/doc/dejagnu-1.6.3 + install -v -dm755 $PKG_DEST/usr/share/doc/dejagnu-$PKG_VER + install -v -m644 doc/dejagnu.{html,txt} $PKG_DEST/usr/share/doc/dejagnu-$PKG_VER } -- cgit v1.2.1