2006-02-23 17:10:28 +00:00
|
|
|
# Description: PPP-over-Ethernet redirector for pppd
|
|
|
|
# URL: http://www.roaringpenguin.com/pppoe
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2006-02-23 17:10:28 +00:00
|
|
|
# Depends on: ppp
|
|
|
|
|
|
|
|
name=rp-pppoe
|
2012-08-25 10:05:36 +02:00
|
|
|
version=3.11
|
2014-02-26 17:03:06 +01:00
|
|
|
release=4
|
2006-11-26 17:47:35 +01:00
|
|
|
source=(http://www.roaringpenguin.com/files/download/$name-$version.tar.gz)
|
2006-02-23 17:10:28 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version/src
|
2012-09-19 13:10:52 +02:00
|
|
|
|
2014-02-26 17:03:06 +01:00
|
|
|
# http://lists.roaringpenguin.com/pipermail/rp-pppoe/2013q3/000402.html
|
|
|
|
sed -i '28a#include <linux\/in6.h>' configure.in
|
|
|
|
|
|
|
|
autoconf
|
2012-09-19 13:10:52 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--enable-plugin
|
|
|
|
|
|
|
|
make DESTDIR=$PKG PLUGIN_DIR=/usr/lib/rp-pppoe install
|
2014-02-26 17:03:06 +01:00
|
|
|
|
2012-09-19 13:10:52 +02:00
|
|
|
rm -r $PKG/usr/{share,lib/rp-pppoe/README}
|
2006-02-23 17:10:28 +00:00
|
|
|
}
|