blob: ddbf828c99ab6d39333d87defc16511db6a53c60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/bash
MAKEDEPS=(make )
DEPS=(sh expect)
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 () {
mkdir -v build
cd build
../configure --prefix=/usr
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-$PKG_VER
install -v -m644 doc/dejagnu.{html,txt} $PKG_DEST/usr/share/doc/dejagnu-$PKG_VER
}
|