aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rp-pppoe/APKBUILD
blob: a9ce7d07936d5b113b9c596b876c89c6e0fed3c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=rp-pppoe
pkgver=3.10
pkgrel=2
pkgdesc="Roaring Penguin\'s Point-to-Point Protocol over Ethernet client"
url="http://www.roaringpenguin.com/pppoe/"
arch="x86 x86_64"
license="LGPL"
depends=
makedepends=
install=
subpackages=
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"