diff options
Diffstat (limited to 'multimedia/schroedinger')
-rw-r--r-- | multimedia/schroedinger/schroedinger.SlackBuild | 18 | ||||
-rw-r--r-- | multimedia/schroedinger/schroedinger.info | 10 |
2 files changed, 19 insertions, 9 deletions
diff --git a/multimedia/schroedinger/schroedinger.SlackBuild b/multimedia/schroedinger/schroedinger.SlackBuild index 2db278a8c7..0620d63804 100644 --- a/multimedia/schroedinger/schroedinger.SlackBuild +++ b/multimedia/schroedinger/schroedinger.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for Schroedinger # Home Page http://www.diracvideo.org/ -# Copyright (c) 2008, Nishant Limbachia (nishant@mnspace.net) +# Copyright (c) 2008-2009, Nishant Limbachia, Hoffman Est, IL, USA (nishant@mnspace.net) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=schroedinger -VERSION=1.0.5 +VERSION=1.0.7 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,10 +37,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 # Exit on most errors @@ -62,6 +65,7 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --mandir=/usr/man \ --disable-static \ @@ -71,12 +75,16 @@ make make install DESTDIR=$PKG ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING* NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + ( cd $PKG/usr/doc/$PRGNAM-$VERSION ln -s /usr/share/gtk-doc/html/schroedinger html ) @@ -90,4 +98,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} diff --git a/multimedia/schroedinger/schroedinger.info b/multimedia/schroedinger/schroedinger.info index 3112afff61..3b13b9a7ad 100644 --- a/multimedia/schroedinger/schroedinger.info +++ b/multimedia/schroedinger/schroedinger.info @@ -1,8 +1,10 @@ PRGNAM="schroedinger" -VERSION="1.0.5" +VERSION="1.0.7" HOMEPAGE="http://diracvideo.org/" -DOWNLOAD="http://diracvideo.org/download/schroedinger/schroedinger-1.0.5.tar.gz" -MD5SUM="55596c41572c5efcf4b2cae9c68c2152" +DOWNLOAD="http://diracvideo.org/download/schroedinger/schroedinger-1.0.7.tar.gz" +MD5SUM="9a1132c54a58a6a040514f754b53ee44" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" -APPROVED="rworkman" +APPROVED="dsomero" |