void-packages/srcpkgs/nzbget/template
2017-04-11 18:54:33 +02:00

22 lines
847 B
Bash

# Template file for 'nzbget'
pkgname=nzbget
version=18.1
revision=2
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 libressl-devel"
short_desc="Download from Usenet using .nzb files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="http://nzbget.net/"
distfiles="https://github.com/${pkgname}/${pkgname}/releases/download/v${version}/${pkgname}-${version}-src.tar.gz"
checksum=ddf7f9eda1cc4d6f01cd28a5ee4362ef7a399085cda45a82ffdf250d56393819
post_extract() {
sed -i '1i#include <stdint.h>' daemon/remote/MessageBase.h
}