1 # Contributor: Vadim Abramchuk <abram@uainet.net>
2 pkgname=accel-pptp-kernel-git
5 pkgdesc="Kernelspace PPTP server module"
7 url="http://accel-pptp.sourceforge.net/"
17 install='accel-pptp.install'
18 #source=($pkgname-$pkgver.tar.gz)
20 md5sums=() #generate with 'makepkg -g'
22 _gitroot="git://accel-pptp.git.sourceforge.net/gitroot/accel-pptp/accel-pptp"
27 msg "Connecting to GIT server...."
29 if [ -d $_gitname ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
36 msg "GIT checkout done or server timeout"
37 msg "Starting make..."
39 rm -rf "$srcdir/$_gitname-build"
40 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
41 cd "$srcdir/$_gitname-build"
48 # ./configure --prefix=/usr
50 # make DESTDIR="$pkgdir/" install
53 mkdir -p $pkgdir/lib/modules/`uname -r`/extra
54 cp pptp.ko $pkgdir/lib/modules/`uname -r`/extra/