24 lines
738 B
Bash
24 lines
738 B
Bash
# Template file for 'pptpclient'
|
|
pkgname=pptpclient
|
|
version=1.10.0
|
|
revision=1
|
|
wrksrc=pptp-${version}
|
|
build_style=gnu-makefile
|
|
hostmakedepends="perl"
|
|
depends="iproute2 ppp"
|
|
short_desc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol"
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://pptpclient.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/pptpclient/files/pptp-${version}.tar.gz"
|
|
checksum=82492db8e487ce73b182ee7f444251d20c44f5c26d6e96c553ec7093aefb5af4
|
|
|
|
pre_build() {
|
|
sed -i Makefile \
|
|
-e 's;PPPD =.*;PPPD=/usr/bin/pppd;' \
|
|
-e 's;IP =.*;IP=/usr/bin/ip;' \
|
|
-e 's;CFLAGS =;CFLAGS?=;' \
|
|
-e 's;LDFLAGS =;LDFLAGS?=;' \
|
|
-e 's;BINDIR=.*;BINDIR=$(DESTDIR)/usr/bin;'
|
|
}
|