mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 20:37:14 +08:00
22 lines
682 B
Bash
22 lines
682 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"
|
||
|
depends=(glibc ppp iproute2)
|
||
|
backup=(etc/ppp/{options.pptp})
|
||
|
source=(http://downloads.sourceforge.net/sourceforge/pptpclient/pptp-$pkgver.tar.gz)
|
||
|
md5sums=('4c3d19286a37459a632c7128c92a9857')
|
||
|
arch=(i686 x86_64)
|
||
|
|
||
|
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
|
||
|
}
|