diff options
Diffstat (limited to 'main/rp-pppoe/APKBUILD')
-rw-r--r-- | main/rp-pppoe/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/rp-pppoe/APKBUILD b/main/rp-pppoe/APKBUILD new file mode 100644 index 0000000000..0694c21682 --- /dev/null +++ b/main/rp-pppoe/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=rp-pppoe +pkgver=3.10 +pkgrel=4 +pkgdesc="Roaring Penguin\'s Point-to-Point Protocol over Ethernet client" +url="http://www.roaringpenguin.com/pppoe/" +arch="all" +license="LGPL" +depends= +makedepends="ppp-dev" +install= +subpackages="$pkgname-doc" +source="http://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz + rp-pppoe.initd" + +_builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$_builddir"/src + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + + make all || return 1 +} + +package() { + cd "$_builddir"/src + + make DESTDIR="$pkgdir" install + + install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname +} + +md5sums="d58a13cc4185bca6121a606ff456dec0 rp-pppoe-3.10.tar.gz +851f3a5a2fab28aa3b8999656b565e1c rp-pppoe.initd" |