IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.4a12 PROGNAME="traceroute $VERSION" DESC="\ traceroute (IP packet route tracing utility) \n\ \n\ The traceroute utility displays the route used by IP packets on their \n\ way to a specified network host. Traceroute will display the IP \n\ number and host name (if possible) of all the machines along the route \n\ taken by the packets. If you're having network connectivity problems, \n\ traceroute can show you where the trouble is located." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/traceroute PKGNAME=traceroute-$VERSION-s390-$BUILD TAG=REC compile() { tar -zxvf $CWD/traceroute-$VERSION.tar.gz cd traceroute-$VERSION/ cp -vp /usr/share/libtool/config.* ./ chown -R root.root . zcat $CWD/traceroute_$VERSION-5.diff.gz | patch -p1 --verbose --backup --suffix=.orig zcat $CWD/traceroute.no.domain.strip.diff.gz | patch -p1 --verbose --backup --suffix=.orig ./configure --prefix=/usr make } install() { mkdir -p /package-traceroute/usr/bin \ /package-traceroute/usr/man/man8 cp -a traceroute /package-traceroute/usr/bin/traceroute gzip -9c traceroute.8 > /package-traceroute/usr/man/man8/traceroute.8.gz mkdir -p /package-traceroute/usr/doc/traceroute-$VERSION cp -a CHANGES FILES INSTALL README VERSION \ /package-traceroute/usr/doc/traceroute-$VERSION } attributes() { chown -R root.bin $PKG/package-traceroute/usr/bin/ chmod 4711 $PKG/package-traceroute/usr/bin/traceroute } special() { cd $PKG mv package-traceroute/* ./ rmdir package-traceroute cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-traceroute/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }