28 lines
871 B
Bash
28 lines
871 B
Bash
# Template file for 'tin'
|
|
pkgname=tin
|
|
version=2.3.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-ipv6 --with-pcre=${XBPS_CROSS_BASE}/usr"
|
|
make_build_target="build"
|
|
make_build_args="BUILD_LDFLAGS="
|
|
hostmakedepends="flex pcre-devel"
|
|
makedepends="ncurses-devel readline-devel pcre-devel libidn-devel"
|
|
short_desc="NNTP and spool based UseNet newsreader"
|
|
maintainer="allan <mail@may.mooo.com>"
|
|
license="BSD"
|
|
homepage="http://www.tin.org"
|
|
distfiles="ftp://ftp.tin.org/pub/news/clients/tin/v${version%.*}/tin-${version}.tar.xz"
|
|
checksum=e8a8eef49c3019fae766327bbed091dfb0440e25ffb70bb643041b069653d6af
|
|
|
|
pre_configure() {
|
|
sed -i '/BUILD_CPPFLAGS.*=/s/$(PCRE_CPPFLAGS)//' src/Makefile.in
|
|
}
|
|
post_install() {
|
|
# conflicts with mutt
|
|
rm -f ${DESTDIR}/usr/share/man/man5/{mmdf.5,mbox.5}
|
|
|
|
# missing license file
|
|
sed -n 9,34p src/misc.c >LICENSE
|
|
vlicense LICENSE
|
|
}
|