mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
multimedia/dvdauthor: Updated for version 0.6.14
This commit is contained in:
parent
313d6a1a39
commit
7d8c02ab96
2 changed files with 11 additions and 2 deletions
|
@ -27,6 +27,7 @@ VERSION=0.6.14
|
|||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
@ -36,8 +37,13 @@ PDOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO"
|
|||
|
||||
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
|
||||
|
||||
rm -rf $PKG
|
||||
|
@ -53,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib$LIBDIRSUFFIX \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
|
@ -74,4 +81,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}
|
||||
|
|
|
@ -2,7 +2,9 @@ PRGNAM="dvdauthor"
|
|||
VERSION="0.6.14"
|
||||
HOMEPAGE="http://dvdauthor.sf.net"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/dvdauthor/dvdauthor-0.6.14.tar.gz"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="bd646b47950c4091ffd781d43fd2c5e9"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Brian Reichert"
|
||||
EMAIL="rignes@pobox.com"
|
||||
APPROVED="BP{k},rworkman"
|
||||
APPROVED="BP{k},rworkman,pprkut"
|
||||
|
|
Loading…
Reference in a new issue