IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.2.7 PROGNAME="epiphany $VERSION" DESC="\ epiphany (GNOME web browser) \n\ \n\ Epiphany is a GNOME web browser based on the Mozilla rendering engine. \n\ \n\ The name means: \"An intuitive grasp of reality through something (as \n\ an event) usually simple and striking\" \n\ \n\ Epiphany's goals are simplicity and standards compliance." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnome.org/pub/gnome/sources/epiphany/ PKGNAME=epiphany-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/epiphany-$VERSION.tar.bz2 cd epiphany-$VERSION/ chown -R root.root . find . -perm 666 -exec chmod 644 {} \; 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 cat $CWD/makefile.diff | patch -p1 --backup --suffix=.orig make } install() { mkdir -p /package-epiphany/etc/gconf/gconf.xml.defaults make install DESTDIR=/package-epiphany mkdir -p /package-epiphany/usr/doc/epiphany-$VERSION cp -a AUTHORS COPYING COPYING.README NEWS README TODO \ /package-epiphany/usr/doc/epiphany-$VERSION mkdir -p /package-epiphany/var/lib/scrollkeeper rm -rf /package-epiphany/etc/gconf/gconf.xml.defaults/%gconf.xml \ /package-epiphany/etc/gconf/gconf.xml.defaults/apps/%gconf.xml \ /package-epiphany/etc/gconf/gconf.xml.defaults/schemas/%gconf.xml \ /package-epiphany/etc/gconf/gconf.xml.defaults/schemas/apps/%gconf.xml } attributes() { chown -R root.bin $PKG/package-epiphany/usr/bin } special() { cd $PKG mv package-epiphany/* ./ rmdir package-epiphany cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-epiphany/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new zcat $CWD/doinst.sh.gz >> doinst.sh }