void-packages/srcpkgs/trn/template

33 lines
861 B
Plaintext
Raw Normal View History

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