blob: 04d1d2c3325f3f333e872576f2b97c975618bb62 (
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
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=rp-pppoe
pkgver=3.12
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 linux-headers"
install=""
subpackages="$pkgname-doc"
source="https://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz
musl-fix.patch
rp-pppoe.initd"
_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="216eb52b69062b92a64ee37fd71f4b66 rp-pppoe-3.12.tar.gz
0fd2db3b31e05b7968ddcbee4551e851 musl-fix.patch
2ba0421b132b1057d0ac666e0ccdf5f3 rp-pppoe.initd"
sha256sums="00794e04031546b0e9b8cf286f2a6d1ccfc4a621b2a3abb2d7ef2a7ab7cc86c2 rp-pppoe-3.12.tar.gz
1ac61bb7591771c251f723ef7c119d3b4369220e68b0b655c9ff52359a972902 musl-fix.patch
9619face947111a546f381794fbced839a8b4a1639ca7975979997a3985fa2f0 rp-pppoe.initd"
sha512sums="1b9e4c806fcbad1bc21f7b74a780ae98682b10a69d91fb08df6dbd1fff86f6271995ebded43f926f8249a17cdddb541edccbbb3ee28e1a2dc89173ad61cd3de1 rp-pppoe-3.12.tar.gz
5f7e9d50be7c4b007bc2f86cee42b8e5dc4ead6a8def618441c0db0ecb083a6631bd90d6292279c2188986820f7b8f488b41ff6cb186bb541e3e705858a21034 musl-fix.patch
6d3457af1353f875cc007b69322636a89534f9c0cd4d598ad24fb29de4a38bdfabc8a717ca17896ca859eac2aea4a037e113c61c4d322cdf7247ca78a8609fa6 rp-pppoe.initd"
|