PKGBUILDs/core/pptpclient/PKGBUILD
2009-10-10 11:16:49 -05:00

22 lines
677 B
Bash

# maintainer: Daniel Isenmann <daniel @ archlinux.org>
# Contributor: Mark Nikkel <mnikkel@gmail.com>
pkgname=pptpclient
pkgver=1.7.2
pkgrel=2
pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP."
url="http://pptpclient.sourceforge.net/"
license="GPL"
arch=('arm')
depends=(glibc ppp iproute2)
backup=(etc/ppp/{options.pptp})
source=(http://downloads.sourceforge.net/sourceforge/pptpclient/pptp-$pkgver.tar.gz)
md5sums=('4c3d19286a37459a632c7128c92a9857')
build() {
cd $startdir/src/pptp-$pkgver
sed -i '/CFLAGS/d' Makefile
sed -i 's|\/bin\/ip|\/usr\/sbin\/ip|g' routing.c
make || return 1
make DESTDIR=$startdir/pkg install
}