void-packages/srcpkgs/slrn/template

26 lines
861 B
Bash

# Template file for 'slrn'
pkgname=slrn
version=1.0.3a
revision=11
build_style=gnu-configure
configure_args="--with-slrnpull --with-ssl
--with-slanginc=${XBPS_CROSS_BASE}/usr/include
--with-slanglib=${XBPS_CROSS_BASE}/usr/lib
slrn_cv_va_copy=yes slrn_cv___va_copy=yes slrn_cv_va_val_copy=yes"
makedepends="openssl-devel slang-devel"
short_desc="Text mode Usenet news reader"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://slrn.info/"
# distfiles="http://jedsoft.org/releases/slrn/${pkgname}-${version}.tar.bz2"
distfiles="https://ftp.icm.edu.pl/packages/slrn/slrn-${version}.tar.bz2"
checksum=3ba8a4d549201640f2b82d53fb1bec1250f908052a7983f0061c983c634c2dac
post_patch() {
# Rip out compile time test to allow cross building.
sed -i 's/ slangversion / /' src/Makefile.in
}
post_install() {
vsconf doc/slrn.rc
}