IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=3.5 PROGNAME="rp-pppoe $VERSION" DESC="\ rp-pppoe (Roaring Penguin PPPoE client) \n\ \n\ PPPoE (Point-to-Point Protocol over Ethernet) is a protocol used by \n\ many ADSL Internet Service Providers. Roaring Penguin has a free \n\ client for Linux systems to connect to PPPoE service providers. \n\ \n\ The client is a user-mode program and does not require any kernel \n\ modifications. It is fully compliant with RFC 2516, the official \n\ PPPoE specification." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/rp-pppoe PKGNAME=rp-pppoe-$VERSION-s390-$BUILD TAG=OPT compile() { tar -zxvf $CWD/rp-pppoe-$VERSION.tar.gz cd rp-pppoe-$VERSION/src/ CFLAGS=-O2 ./configure --prefix=/usr make } install() { make install RPM_INSTALL_ROOT=/package-rp-pppoe ( cd /package-rp-pppoe/usr/man for dir in 5 8; do ( cd man$dir rm -f *.gz gzip -9 *.$dir ) done ) } attributes() { chown -R root.bin $PKG/package-rp-pppoe/usr/sbin } special() { cd $PKG mv package-rp-pppoe/* ./ rmdir package-rp-pppoe cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-rp-pppoe/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }