IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=2.3.16 PROGNAME="libart_lgpl $VERSION" DESC="\ libart_lgpl \n\ \n\ Libart is a library for high-performance 2D graphics. It is used by \n\ both KDE and GNOME. This is the LGPL'd component of the library, \n\ which includes the functions needed for running the GNOME canvas and \n\ for printing support. \n\ \n\ Raph Levien is the author of libart." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/libart_lgpl PKGNAME=libart_lgpl-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/libart_lgpl-$VERSION.tar.bz2 cd libart_lgpl-$VERSION/ chown -R root.root . find . -perm 664 -exec chmod 644 {} \; CFLAGS=-O2 \ ./configure --prefix=/usr make } install() { make install DESTDIR=/package-libart_lgpl mkdir -p /package-libart_lgpl/usr/doc/libart_lgpl-$VERSION cp -a AUTHORS COPYING ChangeLog NEWS README \ /package-libart_lgpl/usr/doc/libart_lgpl-$VERSION } attributes() { chown -R root.bin $PKG/package-libart_lgpl/usr/bin/ } special() { cd $PKG mv package-libart_lgpl/* ./ rmdir package-libart_lgpl cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-libart_lgpl/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }