summaryrefslogtreecommitdiffstats
path: root/main/ppp/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-01 20:50:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-01 20:51:16 +0000
commit7aa5fcdf4ff094e0cc9ad4f94ccb82e4c31bce04 (patch)
tree5795a11eb5c6dd448db88efebc674bc4ed407157 /main/ppp/APKBUILD
parente6f3d330e04c6930f6f41f90336daba33b1a955f (diff)
downloadaports-7aa5fcdf4ff094e0cc9ad4f94ccb82e4c31bce04.tar.bz2
aports-7aa5fcdf4ff094e0cc9ad4f94ccb82e4c31bce04.tar.xz
main/ppp: upgrade to 2.4.5
Diffstat (limited to 'main/ppp/APKBUILD')
-rw-r--r--main/ppp/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/main/ppp/APKBUILD b/main/ppp/APKBUILD
index c50ea10c0..a7fcb2e7b 100644
--- a/main/ppp/APKBUILD
+++ b/main/ppp/APKBUILD
@@ -1,11 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ppp
-pkgver=2.4.4
+pkgver=2.4.5
pkgrel=0
pkgdesc="A daemon which implements the PPP protocol for dial-up networking"
url="http://www.samba.org/ppp/"
license="custom:GPL/BSD"
-depends="uclibc libpcap"
+depends=
makedepends="libpcap-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.samba.org/pub/$pkgname/$pkgname-$pkgver.tar.gz
@@ -17,10 +17,15 @@ source="ftp://ftp.samba.org/pub/$pkgname/$pkgname-$pkgver.tar.gz
ip-up
ip-down"
+_builddir="$srcdir"/$pkgname-$pkgver
build () {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure --prefix=/usr
make COPTS="$CFLAGS" || return 1
+}
+
+package() {
+ cd "$_builddir"
make INSTROOT="$pkgdir" install
install -D -m644 "$srcdir"/options "$pkgdir"/etc/ppp/options
@@ -34,7 +39,7 @@ build () {
install -D -m644 "$srcdir"/pon.1 "$pkgdir"/usr/share/man/man1/pon.1
mkdir -p "$pkgdir"/etc/ppp/peers
}
-md5sums="183800762e266132218b204dfb428d29 ppp-2.4.4.tar.gz
+md5sums="4621bc56167b6953ec4071043fe0ec57 ppp-2.4.5.tar.gz
7a9259a8f038073eeea7e4552ff1849f options
48c024f73a80c8b69c4def22f86902cc pon
2d811f8470ccdea3b8c4505a438483e9 poff