IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=2.6.7 PROGNAME="lftp $VERSION" DESC="\ lftp (command line file transfer program) \n\ \n\ lftp is a program that allows sophisticated ftp and http connections \n\ to other hosts. lftp can handle many file access methods including \n\ ftp, ftps, http, https, hftp, fish and file. Every operation in lftp \n\ is reliable, that is any non-fatal error is ignored and the operation \n\ is retried. lftp has shell-like command syntax. lftp has a built in \n\ mirror feature which can download or upload a whole directory tree. \n\ To learn about many more features of lftp, see 'man lftp'." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/lftp PKGNAME=lftp-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/lftp-$VERSION.tar.bz2 cd lftp-$VERSION/ CFLAGS=-O2 CXXFLAGS=-O2 \ ./configure --prefix=/usr make } install() { make install DESTDIR=/package-lftp mv /package-lftp/etc/lftp.conf /package-lftp/etc/lftp.conf.new mkdir -p /package-lftp/usr/doc/lftp-$VERSION cp -a ABOUT-NLS BUGS COPYING ChangeLog FAQ FEATURES INSTALL MIRRORS NEWS README \ README.debug-levels README.modules THANKS TODO lftp.lsm \ /package-lftp/usr/doc/lftp-$VERSION ( cd /package-lftp/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/package-lftp/usr/bin } special() { cd $PKG mv package-lftp/* ./ rmdir package-lftp cd $CTL cat $CWD/slack-desc > slack-desc cat $CWD/config.sh >> doinst.sh echo "config etc/lftp.conf.new" >> doinst.sh sed -e 's%package-lftp/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }