aboutsummaryrefslogtreecommitdiff
path: root/multimedia/kino/kino.SlackBuild
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenave@gmail.com>2010-05-13 00:34:59 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:34:59 +0200
commit3541b677b0a46c890051b1609658211a7ea81d40 (patch)
tree48647bece2b0a5dd6fca9ae48521717400ec30f9 /multimedia/kino/kino.SlackBuild
parent26a995ea3062f0d457dba3f1eab82ac48bd42514 (diff)
multimedia/kino: Updated for version 1.3.2
Diffstat (limited to 'multimedia/kino/kino.SlackBuild')
-rw-r--r--multimedia/kino/kino.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/multimedia/kino/kino.SlackBuild b/multimedia/kino/kino.SlackBuild
index 8465fa51090cf..4679bd1c73bbd 100644
--- a/multimedia/kino/kino.SlackBuild
+++ b/multimedia/kino/kino.SlackBuild
@@ -2,7 +2,7 @@
#
# Pierre Cazenave (LQ.org pwc101)
# revision date 11/11/2007 (Armistice Day)
-# re-revised for 12.2 and new udev locations on 23/12/2008 (day before
+# re-revised for 12.2 and new udev locations on 23/12/2008 (day before
# Christmas Eve!).
#
# I have set the -enable-local-ffmpeg option since I can't figure
@@ -32,10 +32,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- elif [ "$ARCH" = "i686" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- elif [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
if [ "${QUICKTIME:-no}" = "no" ]; then
@@ -57,6 +60,7 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -75,7 +79,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
-# Give the udev rules a number prefix to be consistent with other rules files
+# Give the udev rules a number prefix to be consistent with other rules files
# and move to the new location for 12.2; then remove $PKG/etc directory
mkdir -p $PKG/lib/udev/rules.d
mv $PKG/etc/udev/rules.d/kino.rules $PKG/lib/udev/rules.d/96-kino.rules
@@ -97,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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}