aboutsummaryrefslogtreecommitdiffstats
path: root/main/rp-pppoe/APKBUILD
blob: c1b7b515949588efc852c766d27cb3736245ee94 (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
39
40
41
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=rp-pppoe
pkgver=3.11
pkgrel=0
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 \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-plugin=/usr/include/pppd \
		|| return 1
	make all || return 1
}

package() {
	cd "$_builddir"/src
	make DESTDIR="$pkgdir" install
	install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}

md5sums="13b5900c56bd602df6cc526e5e520722  rp-pppoe-3.11.tar.gz
f558de3e8cbb74e38218f8232c2da271  rp-pppoe.initd"