31 lines
950 B
Bash
31 lines
950 B
Bash
# Template file for 'tin'
|
|
pkgname=tin
|
|
version=2.6.2
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--enable-ipv6 --with-pcre=${XBPS_CROSS_BASE}/usr
|
|
--with-nntps=openssl"
|
|
make_build_target=build
|
|
make_build_args="BUILD_LDFLAGS="
|
|
hostmakedepends="flex pkg-config pcre-devel gpgme"
|
|
makedepends="ncurses-devel readline-devel pcre-devel libidn-devel openssl-devel gpgme-devel"
|
|
short_desc="NNTP and spool based UseNet newsreader"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://www.tin.org"
|
|
distfiles="ftp://ftp.tin.org/pub/news/clients/tin/v${version%.*}/tin-${version}.tar.xz"
|
|
checksum=91df3cc009017ac0fcc6bb8b625784a0a006f921fb0fd5b87229f74edb1d068c
|
|
|
|
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
|
|
}
|