IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=n STRIPBIN=n PROGNAME="Linux FAQs" VERSION=noversion.bad DESC="\ linux-faqs (Linux FAQ collection from ibiblio.org) \n\ \n\ Frequently Asked Questions (and answers!) on many Linux topics. \n\ \n\ Some of the FAQs included in this package: \n\ ATAPI-FAQ, AfterStep-FAQ, BLFAQ (Brief Linux FAQ), Ftape-FAQ, \n\ GCC-SIG11-FAQ, Joe-Command-Reference, the Linux-FAQ, PPP-FAQ, SMP-FAQ, \n\ and the Threads-FAQ. \n\ \n\ These FAQs will be installed under /usr/doc/Linux-FAQs/." BUILD=1 MAINTAINER="Mark Post " SOURCE=http://www.ibiblio.org/pub/Linux/docs/faqs/ PKGNAME=linux-faqs-$VERSION-s390-$BUILD TAG=ADD compile() { wget -m -np -R .gz,.pdf http://www.ibiblio.org/pub/Linux/docs/faqs/ find www.ibiblio.org/ -name index.html* | xargs rm find www.ibiblio.org/ -name "?INDEX*" | xargs rm rm www.ibiblio.org/pub/Linux/docs/faqs/LDP-FAQ/LDP-FAQ.html ( cd www.ibiblio.org/pub/Linux/docs/faqs/ rm -rf FAQ ; ln -sf Linux-FAQ/Linux-FAQ FAQ rm -rf linux-faq ; ln -sf Linux-FAQ linux-faq ) ( cd www.ibiblio.org/pub/Linux/docs/faqs/Threads-FAQ/html/ wget -N http://www.ibiblio.org/pub/Linux/docs/faqs/Threads-FAQ/html/index.html ) } install() { mkdir -p /package-linux-howtos/usr/doc/Linux-FAQs/ mv www.ibiblio.org/pub/Linux/docs/faqs/* /package-linux-howtos/usr/doc/Linux-FAQs/ } special() { cd $PKG/ mv package-linux-howtos/* ./ rmdir package-linux-howtos/ cd $CTL cat $CWD/slack-desc.linux-faqs > slack-desc sed -e 's%package-linux-howtos/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }