IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=3.1.0 PROGNAME="beecrypt $VERSION" DESC="\ BeeCrypt \n\ \n\ BeeCrypt is an ongoing project to provide strong and fast \n\ cryptography in the form of a toolkit usable by commercial and open \n\ source projects. Included in the library are entropy sources, random \n\ generators, block ciphers, hash functions, message authentication \n\ codes, multiprecision integer routines, and public key primitives." BUILD=1 MAINTAINER="Mark Post " SOURCE=http://sourceforge.net/projects/beecrypt/ PKGNAME=beecrypt-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/../rpm/beecrypt-$VERSION.tar.bz2 cd beecrypt-$VERSION/ CFLAGS=-O2 \ ./configure --prefix=/usr \ --enable-shared=no \ --enable-static=yes \ --with-pic \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make } install() { make install DESTDIR=/package-beecrypt mkdir -p /package-beecrypt/usr/doc/beecrypt-$VERSION cp -a AUTHORS BUGS COPYING INSTALL* NEWS README THANKS TODO \ /package-beecrypt/usr/doc/beecrypt-$VERSION } attributes() { echo chown -R root.bin $PKG/package-beecrypt/usr/bin/ } special() { cd $PKG mv package-beecrypt/* ./ rmdir package-beecrypt cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-beecrypt/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }