# Compiling Time: 0.01 SBU
# Maintainer: Miklos Vajna <vmiklos@frugalware.org>

pkgname=pptp
pkgver=1.10.0
pkgrel=7
pkgdesc="Linux client for PPTP"
_F_sourceforge_dirname="pptpclient"
Finclude sourceforge
url="http://pptpclient.sourceforge.net/"
depends=('ppp>=2.4.7' 'perl>=5.28.2' 'iproute2')
groups=('network-extra')
backup=(etc/ppp/options.$pkgname)
archs=('x86_64')
source=($source options.$pkgname ${pkgname}_fe.pl $pkgname-command)
sha1sums=('173c9b7d204c89fd1538116f165bba1e9101b51c' \
          'c4a729264a3ddd9534725ef43c2a8204b7120f1f' \
          '7baa62d205ff3ede13195c710fb26781ef271413' \
          '1bd81cabc2ef4eb161dec005189c9e8e2c945a00')
Fconfopts="	--sbindir=/usr/bin"

build()
{
	Fcd
	Fexec make OPTIMISE= DEBUG= CFLAGS="${CFLAGS}" || Fdie
	Fexerel /usr/bin/pptp
	Ffile /etc/ppp/options.$pkgname
	Fexe /usr/bin/${pkgname}_fe.pl
	Fexe /usr/bin/$pkgname-command
	Fdocrel Documentation/*
}

# optimization OK
