void-packages/srcpkgs/tsocks/template

24 lines
627 B
Bash

# Template file for 'tsocks'
pkgname=tsocks
version=1.8beta5
revision=4
wrksrc="tsocks-1.8"
build_style=gnu-configure
configure_args="--libdir=/usr/lib"
hostmakedepends="automake"
short_desc="Transparent SOCKS proxying library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://tsocks.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/tsocks/tsocks-$version.tar.gz"
checksum=849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347
pre_configure() {
autoreconf -fi
}
post_install() {
vmkdir usr/share/examples/tsocks
install -m644 *.example ${DESTDIR}/usr/share/examples/tsocks
}