diff options
author | Frank Caraballo <fecaraballo{at}gmail{dot}com> | 2010-05-11 22:23:55 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:23:55 +0200 |
commit | 0e7f817e06eb61017ab87f7e94a1824579d92f2f (patch) | |
tree | cf39ed129e64c2ba47307b79eb0a6b678638c7b5 /libraries/libgnomecanvas | |
parent | 0aa263028de08adca475ce07ba57c811a4ca1b8f (diff) |
libraries/libgnomecanvas: Updated for version 2.20.1.1
Diffstat (limited to 'libraries/libgnomecanvas')
-rw-r--r-- | libraries/libgnomecanvas/libgnomecanvas.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libraries/libgnomecanvas/libgnomecanvas.SlackBuild b/libraries/libgnomecanvas/libgnomecanvas.SlackBuild index 5dfd77d39fea..7f688e84ae4a 100644 --- a/libraries/libgnomecanvas/libgnomecanvas.SlackBuild +++ b/libraries/libgnomecanvas/libgnomecanvas.SlackBuild @@ -21,8 +21,10 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi rm -rf $PKG @@ -31,7 +33,6 @@ cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION || exit 1 - chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -45,10 +46,10 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib/gnome \ - --program-prefix="" \ - --program-suffix="" \ --enable-shared=yes \ --enable-static=no \ + --build=$ARCH-slackware-linux \ + --host=$ARCH-slackware-linux \ || exit 1 make || exit 1 @@ -60,13 +61,12 @@ make install DESTDIR=$PKG || exit 1 ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING.LIB INSTALL NEWS README docs/reference/libgnomecanvas* \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING.LIB INSTALL NEWS README \ + docs/reference/libgnomecanvas* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild ( cd $PKG/usr/doc/$PRGNAM-$VERSION ln -s ../../share/gtk-doc/html/libgnomecanvas html ) - find $PKG -type f -size 0c -exec rm {} \; 2>/dev/null mkdir -p $PKG/install |