tin: update to 2.3.2.

This commit is contained in:
Christian Neukirchen 2016-01-13 16:13:16 +01:00
parent 877f46fba9
commit ba5d5c5f61

View file

@ -1,9 +1,11 @@
# Template file for 'tin'
pkgname=tin
version=2.3.1
version=2.3.2
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"
@ -11,7 +13,7 @@ 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=7d9069fe567f4309ac26dff5334a3c4365c4d2097929a2d47846628e4d8644c6
checksum=2ce19dcf4fc136b9aba73afef16287714b03b3dd0d8ffa7d5767a932b2fd8c02
pre_configure() {
sed -i '/BUILD_CPPFLAGS.*=/s/$(PCRE_CPPFLAGS)//' src/Makefile.in
@ -21,6 +23,6 @@ post_install() {
rm -f ${DESTDIR}/usr/share/man/man5/{mmdf.5,mbox.5}
# missing license file
vmkdir usr/share/licenses/tin
sed -n 9,34p src/misc.c > ${DESTDIR}/usr/share/licenses/tin/LICENSE
sed -n 9,34p src/misc.c >LICENSE
vlicense LICENSE
}