diff options
author | Marco Cecchetti <mrc.ildp@gmail.com> | 2010-05-13 00:34:51 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:34:51 +0200 |
commit | cf78ad2bee678ef5e14488a2fe368adb8426e275 (patch) | |
tree | 130b188df8b2d6a3a0a5ab7f03143b34748ce8d4 /multimedia/gst-gnome-vfs/gst-gnome-vfs.SlackBuild | |
parent | 2819a846103dc5be2bed47efad52b61860bf31fb (diff) | |
download | slackbuilds-cf78ad2bee678ef5e14488a2fe368adb8426e275.tar.gz |
multimedia/gst-gnome-vfs: Updated for version 0.10.23
Diffstat (limited to 'multimedia/gst-gnome-vfs/gst-gnome-vfs.SlackBuild')
-rw-r--r-- | multimedia/gst-gnome-vfs/gst-gnome-vfs.SlackBuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/multimedia/gst-gnome-vfs/gst-gnome-vfs.SlackBuild b/multimedia/gst-gnome-vfs/gst-gnome-vfs.SlackBuild index 211f4e6dcc..41f5212064 100644 --- a/multimedia/gst-gnome-vfs/gst-gnome-vfs.SlackBuild +++ b/multimedia/gst-gnome-vfs/gst-gnome-vfs.SlackBuild @@ -3,7 +3,7 @@ # Written by Marco Cecchetti (mrc.ildp@gmail.com) PRGNAM=gst-gnome-vfs -VERSION=${VERSION:-0.10.21} +VERSION=${VERSION:-0.10.23} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -15,10 +15,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 @@ -27,7 +30,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf gst-plugins-base-$VERSION -tar xvf $CWD/gst-plugins-base-$VERSION.tar.gz +tar xvf $CWD/gst-plugins-base-$VERSION.tar.?z* cd gst-plugins-base-$VERSION chown -R root:root . find . \ @@ -40,6 +43,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --enable-static=no \ --disable-nls \ --disable-debug \ @@ -60,9 +64,9 @@ CXXFLAGS="$SLKCFLAGS" \ make -mkdir -p $PKG/usr/lib/gstreamer-0.10 -cp ext/gnomevfs/.libs/libgstgnomevfs.so $PKG/usr/lib/gstreamer-0.10 -cp ext/gnomevfs/.libs/libgstgnomevfs.la $PKG/usr/lib/gstreamer-0.10 +mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/gstreamer-0.10 +cp ext/gnomevfs/.libs/libgstgnomevfs.so $PKG/usr/lib${LIBDIRSUFFIX}/gstreamer-0.10 +cp ext/gnomevfs/.libs/libgstgnomevfs.la $PKG/usr/lib${LIBDIRSUFFIX}/gstreamer-0.10 ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ @@ -78,4 +82,4 @@ 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} |