aboutsummaryrefslogtreecommitdiff
path: root/libraries/libiec61883/libiec61883.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libiec61883/libiec61883.SlackBuild')
-rw-r--r--libraries/libiec61883/libiec61883.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/libiec61883/libiec61883.SlackBuild b/libraries/libiec61883/libiec61883.SlackBuild
index b8441b9a88faa..4b05762a6b5dc 100644
--- a/libraries/libiec61883/libiec61883.SlackBuild
+++ b/libraries/libiec61883/libiec61883.SlackBuild
@@ -4,7 +4,7 @@
# Updated for Slackware64 28/05/2009
# Modified by Robby Workman <rworkman@slackbuilds.org> for better
# consistency with our other scripts
-#
+
# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
#
@@ -25,7 +25,6 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
PRGNAM=libiec61883
VERSION=1.2.0
ARCH=${ARCH:-i486}
@@ -65,7 +64,8 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --disable-static
+ --disable-static \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -92,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}