void-packages/srcpkgs/banner/template

22 lines
620 B
Bash
Raw Normal View History

2015-04-20 11:27:32 +02:00
# Template file for 'banner'
pkgname=banner
version=1.2
revision=4
2015-04-20 12:31:33 +02:00
conflicts="bsd-games>=0"
2015-04-20 11:27:32 +02:00
build_style=gnu-configure
short_desc="Prints ASCII banners"
maintainer="allan <mail@may.mooo.com>"
license="GPL-2"
homepage="http://www.moria.de/~michael/banner/"
distfiles="http://www.moria.de/~michael/banner/banner-${version}.tar.gz"
checksum=84828f417e6139733cff98c8bb4765a70070352ab7d471ecd1f54d8fa8a9f746
pre_configure() {
sed -i configure \
-e '2439i if ! test "$cross_compiling"; then' \
-e '2497a fi'
2015-04-20 11:27:32 +02:00
}
do_install() {
make prefix=${DESTDIR}/usr BINDIR=${DESTDIR}/usr/bin MANDIR=${DESTDIR}/usr/share/man install
2015-04-20 11:27:32 +02:00
}