diff options
Diffstat (limited to 'libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild')
-rw-r--r-- | libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild b/libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild index fde4a277a9..9cbb9c796e 100644 --- a/libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild +++ b/libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild @@ -18,10 +18,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -44,11 +47,13 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --disable-debug \ - --disable-gtk-doc + --disable-gtk-doc \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG @@ -69,8 +74,9 @@ make install DESTDIR=$PKG rm -rf $PKG/usr/share/gnome mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html @@ -80,5 +86,5 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |