diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-13 00:30:56 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:30:56 +0200 |
commit | a12e85daab88a4c1d2aacb7bc3b6c3d6b2072d8f (patch) | |
tree | 45447a35943f9c2979441a7ca2057d445d633069 /libraries/libisoburn/libisoburn.SlackBuild | |
parent | 2870221b7a5bc5050c6719db2929f3868f34bb0f (diff) |
libraries/libisoburn: Updated for version 0.4.8
Diffstat (limited to 'libraries/libisoburn/libisoburn.SlackBuild')
-rw-r--r-- | libraries/libisoburn/libisoburn.SlackBuild | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/libraries/libisoburn/libisoburn.SlackBuild b/libraries/libisoburn/libisoburn.SlackBuild index bb7db9d323ea7..1cf5c46b4473e 100644 --- a/libraries/libisoburn/libisoburn.SlackBuild +++ b/libraries/libisoburn/libisoburn.SlackBuild @@ -1,11 +1,9 @@ #!/bin/sh - # Slackware build script for libisoburn - # Written by Larry Hajali <larryhaja[at]gmail[dot]com. PRGNAM=libisoburn -VERSION=${VERSION:-0.3.0} +VERSION=${VERSION:-0.4.8} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,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 @@ -42,17 +43,23 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --enable-static=no \ + --enable-debug=no \ + --disable-dependency-tracking \ + --enable-libdir-pkgconfig \ --build=$ARCH-slackware-linux 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 || true - 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 || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | + xargs strip --strip-unneeded 2> /dev/null ) ( cd $PKG/usr/man @@ -63,7 +70,7 @@ make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS CONTRIBUTORS COPYING COPYRIGHT INSTALL README TODO \ + AUTHORS COPYING COPYRIGHT INSTALL README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION mv xorriso/README $PKG/usr/doc/$PRGNAM-$VERSION/README.xorriso cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -72,4 +79,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} |