void-packages/srcpkgs/cntlm/template

24 lines
643 B
Bash

# Template file for 'cntlm'
pkgname=cntlm
version=0.92.3
revision=4
build_style=gnu-configure
short_desc="NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="GPL-2"
homepage="http://cntlm.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=9c3ad10924d43f7248df9ecd33cbc033afbd7ea8d9545de0d68a2782fed76298
do_build() {
make CC=$CC FLAGS="$CFLAGS $LDFLAGS" ${makejobs}
}
do_install() {
vbin cntlm
vman doc/cntlm.1
vsv cntlm
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/cntlm.service 644 usr/lib/systemd/system
fi
}