IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=0.15.0 PROGNAME="pkgconfig $VERSION" DESC="\ pkgconfig \n\ \n\ pkg-config is a system for managing library compile/link flags \n\ that works with automake and autoconf. It replaces the ubiquitous \n\ *-config scripts you may have seen with a single tool. See the man \n\ page that comes with pkg-config for full documentation." BUILD=1 MAINTAINER="Mark Post " SOURCE=http://www.freedesktop.org/software/pkgconfig/ PKGNAME=pkgconfig-$VERSION-s390-$BUILD TAG=REC compile() { tar -yxvf $CWD/pkgconfig-$VERSION.tar.bz2 cd pkgconfig-$VERSION/ chown -R root.root . find . -perm 664 -exec chmod 644 {} \; CFLAGS=-O2 \ ./configure --prefix=/usr make } install() { make install DESTDIR=/package-pkgconfig mkdir -p /package-pkgconfig/usr/doc/pkgconfig-$VERSION cp -a AUTHORS COPYING ChangeLog NEWS README \ /package-pkgconfig/usr/doc/pkgconfig-$VERSION ( cd /package-pkgconfig/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/package-pkgconfig/usr/bin/ } special() { cd $PKG mv package-pkgconfig/* ./ rmdir package-pkgconfig cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-pkgconfig/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }