diff options
author | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2007-12-02 01:15:20 +0000 |
---|---|---|
committer | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2007-12-02 01:15:20 +0000 |
commit | c6f25ad07ec507a3eb3f886848fd4f06b4a4bb7b (patch) | |
tree | 55b389009cce7543e5536251dbf0675ecddd50c4 /sys/libs/libfreebob | |
parent | ca274f16c2f8befb15159fa42455e10019d330c2 (diff) | |
download | slackbuilds-c6f25ad07ec507a3eb3f886848fd4f06b4a4bb7b.tar.gz slackbuilds-c6f25ad07ec507a3eb3f886848fd4f06b4a4bb7b.tar.bz2 |
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1484 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'sys/libs/libfreebob')
-rwxr-xr-x | sys/libs/libfreebob/libfreebob.SlackBuild | 47 | ||||
-rw-r--r-- | sys/libs/libfreebob/libfreebob.mkbuild | 161 | ||||
-rw-r--r-- | sys/libs/libfreebob/slack-required | 11 |
3 files changed, 197 insertions, 22 deletions
diff --git a/sys/libs/libfreebob/libfreebob.SlackBuild b/sys/libs/libfreebob/libfreebob.SlackBuild index 5f0b7c16..75c7ee07 100755 --- a/sys/libs/libfreebob/libfreebob.SlackBuild +++ b/sys/libs/libfreebob/libfreebob.SlackBuild @@ -14,8 +14,9 @@ # this program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place - Suite 330, Boston, MA 02111-1307, USA # -# slackbuild for libfreebob, by Rafael Diniz -# tested: libfreebob-1.0.3 +# slackbuild for libfreebob, by Rudson R. Alves +# requires: cxxlibs gcc glibc-solibs alsa-lib libavc1394 libiec61883 libraw1394 libxml2 +# tested: libfreebob-1.0.7 # # Look for slackbuildrc @@ -30,17 +31,17 @@ CWD="$(pwd)" SRC_NAME="libfreebob" PKG_NAME="libfreebob" ARCH=${ARCH:=i486} -SRC_VERSION=${VERSION:=1.0.3} +SRC_VERSION=${VERSION:=1.0.7} PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')" -BUILD=${BUILD:=1rd} +BUILD=${BUILD:=1rra} SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME TMP=${TMP:=/tmp} PKG=${PKG:=$TMP/package-$PKG_NAME} REPOS=${REPOS:=$TMP} PREFIX=${PREFIX:=/usr} -PKG_SRC="$TMP/$SRC_NAME-$SRC_VERSION" -CONF_OPTIONS=${CONF_OPTIONS:=""} -NUMJOBS=${NUMJOBS:="-j3"} +PKG_WORK="$TMP/$SRC_NAME" +CONF_OPTIONS=${CONF_OPTIONS:="--disable-static --program-prefix= --program-suffix= --build=$ARCH-slackware-linux"} +NUMJOBS=${NUMJOBS:="-j7"} # Set system libraries' path and optmization flags based on $ARCH LIBDIR="$PREFIX/lib" @@ -72,19 +73,21 @@ rm -rf "$PKG" 2> /dev/null mkdir -p "$SRC_DIR" || exit $ERROR_MKDIR mkdir -p "$PKG" || exit $ERROR_MKDIR mkdir -p "$REPOS" || exit $ERROR_MKDIR +mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR # Dowload source if necessary -SRC="$SRC_NAME-$VERSION.tar.gz" -URL="http://ufpr.dl.sourceforge.net/sourceforge/freebob//$SRC" +SRC="$SRC_NAME-$VERSION.tar.bz2" +URL="http://downloads.sourceforge.net/libfreebob/$SRC" -if [ ! -s "$SRC_DIR/$SRC" ] || ! gunzip -t "$SRC_DIR/$SRC" 2> /dev/null; then +if [ ! -s "$SRC_DIR/$SRC" ] || ! bunzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET fi # Untar -cd "$TMP" +cd "$PKG_WORK" tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR +PKG_SRC=`ls -l | awk '/^d/ { print $8 }'` cd "$PKG_SRC" # Configure @@ -108,7 +111,7 @@ make install DESTDIR="$PKG" || exit $ERROR_INSTALL ) # Install documentation -DOCS="NEWS TODO README AUTHORS INSTALL ChangeLog COPYING" +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO" mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" @@ -123,17 +126,17 @@ cat << EODESC > "$PKG/install/slack-desc" # customary to leave one space after the ':'. |-----handy-ruler---------------------------------------------------| -libfreebob: libfreebob (driver for firewire audio devices) -libfreebob: -libfreebob: All eventually supported devices have a software running on in it -libfreebob: called BeBoB. We are trying to free it from the propritary world -libfreebob: of operating systems. -libfreebob: -libfreebob: -libfreebob: -libfreebob: -libfreebob: http://freebob.sourceforge.net/ +libfreebob: libfreebob by Slack.Sarava libfreebob: +libfreebob: What's FreeBoB project? +libfreebob: * 'BeBoB' means the BridgeCo (http://www.bridgeco.net/) enhanced +libfreebob: breakout box firmware. +libfreebob: * BeBoB devices are audio breakout boxes running this firmware. +libfreebob: * BeBoB devices are attached with IEEE1394, a.k.a FireWire(tm) or +libfreebob: i.Link(tm), a high performance serial bus. +libfreebob: * FreeBoB is a a generic Linux driver for BeBoB devices and will +libfreebob: support JACK and ALSA API's. +libfreebob: * FreeBoB project aims to provide this generic Linux driver. EODESC # Build the package diff --git a/sys/libs/libfreebob/libfreebob.mkbuild b/sys/libs/libfreebob/libfreebob.mkbuild new file mode 100644 index 00000000..fc9c7fb8 --- /dev/null +++ b/sys/libs/libfreebob/libfreebob.mkbuild @@ -0,0 +1,161 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Rudson R. Alves" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rra" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/libfreebob/libfreebob-1.0.7.tar.bz2" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="cxxlibs: gcc: glibc-solibs: alsa-lib >= 1.0.0: libavc1394 >= 0.5.3: libiec61883 >= 1.1.0: libraw1394 >= 1.2.1: libxml2 >= 2.6.0: libpthread >= 2.3.5: jackd >= 0.102.20" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="--disable-static --program-prefix= --program-suffix= --build=$ARCH-slackware-linux +" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j7" + +#--------------------- +# Others changes +#--------------------- +#[[PATCH FILES]]="" +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[PATCH FILES]]="" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/[[NAME]]" +[[SLACKBUILD PATH]]="" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libfreebob: libfreebob by Slack.Sarava +libfreebob: +libfreebob: What's FreeBoB project? +libfreebob: * 'BeBoB' means the BridgeCo (http://www.bridgeco.net/) enhanced +libfreebob: breakout box firmware. +libfreebob: * BeBoB devices are audio breakout boxes running this firmware. +libfreebob: * BeBoB devices are attached with IEEE1394, a.k.a FireWire(tm) or +libfreebob: i.Link(tm), a high performance serial bus. +libfreebob: * FreeBoB is a a generic Linux driver for BeBoB devices and will +libfreebob: support JACK and ALSA API's. +libfreebob: * FreeBoB project aims to provide this generic Linux driver. +#<slackdesc diff --git a/sys/libs/libfreebob/slack-required b/sys/libs/libfreebob/slack-required new file mode 100644 index 00000000..d72cc221 --- /dev/null +++ b/sys/libs/libfreebob/slack-required @@ -0,0 +1,11 @@ +# Dependency list to libfreebob +# +# dependency [condition] [version]] +cxxlibs +gcc +glibc-solibs +alsa-lib >= 1.0.0 +libavc1394 >= 0.5.3 +libiec61883 >= 1.1.0 +libraw1394 >= 1.2.1 +libxml2 >= 2.6.0 |