blob: 4add772b6f8fc272cf96da310855cddae938a834 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=rp-pppoe
pkgver=3.11
pkgrel=3
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 linux-headers"
install=""
subpackages="$pkgname-doc"
source="http://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz
musl-fix.patch
rp-pppoe.initd
kmode.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
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
0fd2db3b31e05b7968ddcbee4551e851 musl-fix.patch
2ba0421b132b1057d0ac666e0ccdf5f3 rp-pppoe.initd
d38a903a247d689ff0323d7b6caa1c6b kmode.patch"
sha256sums="86a1a4d92fcea74fa6dd45516c5975933fa978b36fafe71f76ea70b4b4747720 rp-pppoe-3.11.tar.gz
1ac61bb7591771c251f723ef7c119d3b4369220e68b0b655c9ff52359a972902 musl-fix.patch
9619face947111a546f381794fbced839a8b4a1639ca7975979997a3985fa2f0 rp-pppoe.initd
662ce43e690eef129c7c8e9f5ef08da6455a20428ad8f4a912cd41a7f39b30de kmode.patch"
sha512sums="cb9579ad94f6b6cfd709e8061aacac0a007f1f58ffd50bd0603f5a2b612c0cf4831febdbfeee290b97932fd30f8ae7f707d532a291124c4aeae2333131d53905 rp-pppoe-3.11.tar.gz
5f7e9d50be7c4b007bc2f86cee42b8e5dc4ead6a8def618441c0db0ecb083a6631bd90d6292279c2188986820f7b8f488b41ff6cb186bb541e3e705858a21034 musl-fix.patch
6d3457af1353f875cc007b69322636a89534f9c0cd4d598ad24fb29de4a38bdfabc8a717ca17896ca859eac2aea4a037e113c61c4d322cdf7247ca78a8609fa6 rp-pppoe.initd
998933b99f9a72b463d8ac31020f6457e802bae47917a03d59488e3ea9e2b52e1621e46e6784740be2cd2c4d7bc17ad2f93c5f530c4fb2a000c1ca0ed523dbea kmode.patch"
|