void-packages/srcpkgs/trn/template
2015-01-15 11:17:33 +00:00

31 lines
824 B
Text

# Template file for 'trn'
pkgname=trn
version=4.0test77
revision=3
wrksrc=$pkgname-${version/test/-test}
build_style=gnu-makefile
hostmakedepends="groff bison"
makedepends="ncurses-devel"
depends="virtual?smtp-server"
short_desc="Text-based threaded Usenet newsreader"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
homepage="http://trn.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz"
checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff
do_configure() {
cp ${FILESDIR}/Policy.sh .
./Configure -OdErs
./Configure -desS
}
do_install() {
make ${makejobs} install CC="$CC" \
rnbin=${DESTDIR}/usr/bin \
rnlib=${DESTDIR}/usr/lib/trn \
inewsbin=${DESTDIR}/usr/bin \
mansrc=${DESTDIR}/usr/share/man/man1
vlicense LICENSE
}