libraries/libisoburn: Updated for version 0.4.8

This commit is contained in:
Larry Hajali 2010-05-13 00:30:56 +02:00 committed by Erik Hanson
parent 2870221b7a
commit a12e85daab
4 changed files with 30 additions and 21 deletions

View file

@ -8,4 +8,4 @@ or any other CD layout which does not entirely consist of ISO-9660 sessions.
There is a comand line and dialog application xorriso which allows to use
large parts of libisoburn's feature set.
Requirements: libisofs and libburn
Requirements: libisofs and libburn (both available at slackbuilds.org)

View file

@ -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}

View file

@ -1,8 +1,10 @@
PRGNAM="libisoburn"
VERSION="0.3.0"
VERSION="0.4.8"
HOMEPAGE="http://libburnia-project.org/wiki/Libisoburn"
DOWNLOAD="http://files.libburnia-project.org/releases/libisoburn-0.3.0.pl00.tar.gz"
MD5SUM="3db196f932ae2ef50d82eb6c8f8a1548"
DOWNLOAD="http://files.libburnia-project.org/releases/libisoburn-0.4.8.pl00.tar.gz"
MD5SUM="eb679167c1af0b8894de5e2ec5ad33fd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
APPROVED="rworkman"
APPROVED="Erik Hanson"