IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.4.2 GMAGVER=0.11.2 PROGNAME="at-spi $VERSION" DESC="\ at-spi \n\ \n\ This is the Early Access Release of the Gnome Accessibility \n\ Project's Assistive Technology Service Provider Interface." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnome.org/pub/gnome/sources/at-spi/ PKGNAME=at-spi-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/at-spi-$VERSION.tar.bz2 cd at-spi-$VERSION/ chown -R root.root . find . -perm 664 -exec chmod 644 {} \; find . -perm 600 -exec chmod 644 {} \; find . -perm 444 -exec chmod 644 {} \; find . -perm 400 -exec chmod 644 {} \; find . -perm 440 -exec chmod 644 {} \; find . -perm 777 -exec chmod 755 {} \; find . -perm 775 -exec chmod 755 {} \; find . -perm 511 -exec chmod 755 {} \; find . -perm 711 -exec chmod 755 {} \; find . -perm 555 -exec chmod 755 {} \; CFLAGS=-O2 \ ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --enable-static=no \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make make install DESTDIR=$TMP/ati-spi-pkg cd $TMP tar -yxvf $CWD/gnome-mag-$GMAGVER.tar.bz2 cd gnome-mag-$GMAGVER/ chown -R root.root . find . -perm 664 -exec chmod 644 {} \; find . -perm 600 -exec chmod 644 {} \; find . -perm 444 -exec chmod 644 {} \; find . -perm 400 -exec chmod 644 {} \; find . -perm 440 -exec chmod 644 {} \; find . -perm 777 -exec chmod 755 {} \; find . -perm 775 -exec chmod 755 {} \; find . -perm 511 -exec chmod 755 {} \; find . -perm 711 -exec chmod 755 {} \; find . -perm 555 -exec chmod 755 {} \; PKG_CONFIG_PATH=/usr/lib/pkgconfig:$TMP/ati-spi-pkg/usr/lib/pkgconfig \ CFLAGS=-O2 \ ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --enable-static=no \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make } install() { cd $TMP/at-spi-$VERSION/ make install DESTDIR=/package-at-spi mkdir -p /package-at-spi/usr/doc/at-spi-$VERSION cp -a AUTHORS COPYING NEWS README TODO \ /package-at-spi/usr/doc/at-spi-$VERSION cd $TMP/gnome-mag-$GMAGVER/ make install DESTDIR=/package-at-spi mkdir -p /package-at-spi/usr/doc/gnome-mag-$GMAGVER cp -a AUTHORS COPYING NEWS README \ /package-at-spi/usr/doc/gnome-mag-$GMAGVER } attributes() { chown -R root.bin $PKG/package-at-spi/usr/bin } special() { cd $PKG mv package-at-spi/* ./ rmdir package-at-spi cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-at-spi/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }