summaryrefslogtreecommitdiffstats
path: root/libraries/libavc1394/libavc1394.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libavc1394/libavc1394.SlackBuild')
-rw-r--r--libraries/libavc1394/libavc1394.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/libraries/libavc1394/libavc1394.SlackBuild b/libraries/libavc1394/libavc1394.SlackBuild
index 07a62ce26c..86a19f70ec 100644
--- a/libraries/libavc1394/libavc1394.SlackBuild
+++ b/libraries/libavc1394/libavc1394.SlackBuild
@@ -4,7 +4,7 @@
# Updated for Slackware64 28/05/2009
# Modified by Robby Workman <rworkman@slackbuilds.org> for better
# consistency with other scripts in our repository
-#
+
# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
#
@@ -60,11 +60,12 @@ 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 \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --disable-static
+ --disable-static \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -91,4 +92,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}