void-packages/srcpkgs/nzbget/template

24 lines
886 B
Bash

# Template file for 'nzbget'
pkgname=nzbget
version=21.0
revision=4
build_style=gnu-configure
configure_args="--with-tlslib=OpenSSL
--with-libcurses-includes=${XBPS_CROSS_BASE}/usr/include
--with-libcurses-libraries=${XBPS_CROSS_BASE}/usr/lib
--with-zlib-includes=${XBPS_CROSS_BASE}/usr/include
--with-zlib-libraries=${XBPS_CROSS_BASE}/usr/lib"
hostmakedepends="pkg-config"
makedepends="libxml2-devel ncurses-devel openssl-devel"
short_desc="Download from Usenet using .nzb files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://nzbget.net/"
distfiles="https://github.com/${pkgname}/${pkgname}/releases/download/v${version}/${pkgname}-${version}-src.tar.gz"
checksum=65a5d58eb8f301e62cf086b72212cbf91de72316ffc19182ae45119ddd058d53
python_version=2 #unverified
post_extract() {
sed -i '1i#include <stdint.h>' daemon/remote/MessageBase.h
}