diff options
Diffstat (limited to 'libraries/goffice0.8/goffice0.8.SlackBuild')
-rw-r--r-- | libraries/goffice0.8/goffice0.8.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/goffice0.8/goffice0.8.SlackBuild b/libraries/goffice0.8/goffice0.8.SlackBuild index 8aeddf47e07cf..05ac179bc2cd4 100644 --- a/libraries/goffice0.8/goffice0.8.SlackBuild +++ b/libraries/goffice0.8/goffice0.8.SlackBuild @@ -33,7 +33,7 @@ SRCNAM=goffice if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -97,11 +97,11 @@ make make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS BUGS COPYING ChangeLog INSTALL MAINTAINERS NEWS README \ +cp -a AUTHORS BUGS COPYING ChangeLog MAINTAINERS NEWS README \ $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc -type f -exec chmod 644 {} \; -(cd $PKG/usr/doc/$PRGNAM-$VERSION; ln -s /usr/share/gtk-doc/html/goffice html) +find $PKG/usr/doc -type f -exec chmod 0644 {} \; +ln -s /usr/share/gtk-doc/html/goffice $PKG/usr/doc/$PRGNAM-$VERSION/html mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |