summaryrefslogtreecommitdiff
path: root/libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild
diff options
context:
space:
mode:
authorCezary M. Kruk <c.kruk@bigfoot.com>2010-05-13 00:29:31 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:29:31 +0200
commit6c4f4ad9b04e3b0e295a7fc74c9434ba01b2698f (patch)
tree1005ed439de403a7150773b7e3594c8c88cf65f3 /libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild
parent2d7b3956d5a1651d64df491e39480455d262c8f3 (diff)
downloadslackbuilds-6c4f4ad9b04e3b0e295a7fc74c9434ba01b2698f.tar.gz
libraries/gdk-pixbuf: Updated for version 0.22.0
Diffstat (limited to 'libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild')
-rw-r--r--libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild14
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}