|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2009,2010 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2009,2010,2011 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -21,19 +21,16 @@
|
|
|
|
|
# POSSIBILITY OF SUCH DAMAGE. |
|
|
|
|
# |
|
|
|
|
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org> |
|
|
|
|
# |
|
|
|
|
# Latest libiec61883 sourcecode is available at: |
|
|
|
|
# <http://www.kernel.org/pub/linux/libs/ieee1394/>. |
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-libiec61883} |
|
|
|
|
VERSION=${VERSION:-1.2.0} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
|
WGET=${WGET:-http://www.kernel.org/pub/linux/libs/ieee1394/$ARCHIVE} |
|
|
|
|
ARCHIVE=${ARCHIVE:-${NAMESRC}_$VERSION.orig.tar.gz} |
|
|
|
|
WGET=${WGET:-http://libiec61883.sourcearchive.com/downloads/$VERSION/$ARCHIVE} |
|
|
|
|
|
|
|
|
|
# Build infos |
|
|
|
|
NAMEPKG=${NAMEPKG:-libiec61883} |
|
|
|
|
BUILD=${BUILD:-2GGD} |
|
|
|
|
BUILD=${BUILD:-3GGD} |
|
|
|
|
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')} |
|
|
|
|
JOBS=${JOBS:-1} |
|
|
|
|
EXT=${EXT:-txz} |
|
|
|
|