parent
e5255aaae4
commit
cc7cb15642
|
@ -1,10 +1,9 @@
|
||||||
# Template file for 'banner'
|
# Template file for 'banner'
|
||||||
pkgname=banner
|
pkgname=banner
|
||||||
version=1.2
|
version=1.2
|
||||||
revision=3
|
revision=4
|
||||||
conflicts="bsd-games>=0"
|
conflicts="bsd-games>=0"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="ed"
|
|
||||||
short_desc="Prints ASCII banners"
|
short_desc="Prints ASCII banners"
|
||||||
maintainer="allan <mail@may.mooo.com>"
|
maintainer="allan <mail@may.mooo.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -13,18 +12,10 @@ distfiles="http://www.moria.de/~michael/banner/banner-${version}.tar.gz"
|
||||||
checksum=84828f417e6139733cff98c8bb4765a70070352ab7d471ecd1f54d8fa8a9f746
|
checksum=84828f417e6139733cff98c8bb4765a70070352ab7d471ecd1f54d8fa8a9f746
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
ed configure <<-EDIT
|
sed -i configure \
|
||||||
2438a
|
-e '2439i if ! test "$cross_compiling"; then' \
|
||||||
if ! test "\$cross_compiling"; then
|
-e '2497a fi'
|
||||||
.
|
|
||||||
2497a
|
|
||||||
fi
|
|
||||||
.
|
|
||||||
w
|
|
||||||
q
|
|
||||||
EDIT
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make prefix=$DESTDIR/usr/ MANDIR=$DESTDIR/usr/share/man install
|
make prefix=${DESTDIR}/usr BINDIR=${DESTDIR}/usr/bin MANDIR=${DESTDIR}/usr/share/man install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue