libraries/libdvdnav: Updated for version 4.1.3

This commit is contained in:
Heinz Wiesinger 2010-05-13 00:30:23 +02:00 committed by Erik Hanson
parent 1049a3c8f1
commit 771124e1d3
3 changed files with 8 additions and 5 deletions

View file

@ -1,5 +1,3 @@
This is mplayer's fork of libdvdnav. libdvdnav is a library that allows easy
use of sophisticated DVD navigation features such as DVD menus, multiangle
playback, and even interactive DVD games.
libdvdnav requires libdvdread, also available from Slackbuilds.org.

View file

@ -35,10 +35,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
@ -58,11 +61,11 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
@ -76,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

@ -3,6 +3,8 @@ VERSION="4.1.3"
HOMEPAGE="http://www.mplayerhq.hu/design7/news.html"
DOWNLOAD="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdnav-4.1.3.tar.bz2"
MD5SUM="d62383c45b28816771e283515f2c27fa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="ppr:kut"
EMAIL="pprkut@liwjatan.at"
APPROVED="Erik Hanson"