--- pango.SlackBuild 2006-09-29 17:04:33.000000000 -0400 +++ pango.SlackBuild.s390x 2007-01-16 19:13:26.000000000 -0500 @@ -12,7 +12,7 @@ SLKCFLAGS="-O2 -march=i386 -mcpu=i686" elif [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "s390" ]; then +elif [ "$ARCH" = "s390x" ]; then SLKCFLAGS="-O2" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2" @@ -26,13 +26,15 @@ find . -perm 664 -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ ./configure --prefix=/usr \ + --libdir=/usr/lib64 \ --sysconfdir=/etc make make install DESTDIR=$PKG # Spamming your root partition: -make install +#make install mkdir -p $PKG/etc/pango cp -a /etc/pango/* $PKG/etc/pango +cp pango/pangox.aliases $PKG/etc/pango strip $PKG/usr/bin/* ( cd $PKG find . -type f | xargs file | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded