diff options
Diffstat (limited to 'system/eibd')
-rw-r--r-- | system/eibd/README | 8 | ||||
-rw-r--r-- | system/eibd/eibd.SlackBuild | 22 | ||||
-rw-r--r-- | system/eibd/eibd.info | 2 |
3 files changed, 22 insertions, 10 deletions
diff --git a/system/eibd/README b/system/eibd/README index 1aa3c662d6..8badc49cd2 100644 --- a/system/eibd/README +++ b/system/eibd/README @@ -1,5 +1,6 @@ -The BCU SDK is a free development environment for BCU1 and BCU2 devices for the -KNX home automation bus (formerly known as the European Installation Bus, EIB). +The BCU SDK is a free development environment for BCU1 and BCU2 +devices for the KNX home automation bus (formerly known as the +European Installation Bus, EIB). The eibd daemon is the key component of the BCU SDK. It provides an interface to the EIB/KNX bus. It supports the following backends: @@ -11,4 +12,5 @@ interface to the EIB/KNX bus. It supports the following backends: Eibd provides APIs for various programming languages and a number of example programs written in C. -A sample startup script for Slackware is provided along with the SlackBuild. +A sample startup script for Slackware is provided along with the +SlackBuild. diff --git a/system/eibd/eibd.SlackBuild b/system/eibd/eibd.SlackBuild index 41d8466b80..96c223e4e9 100644 --- a/system/eibd/eibd.SlackBuild +++ b/system/eibd/eibd.SlackBuild @@ -1,30 +1,40 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for eibd. # Written by V'yacheslav Stetskevych +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=eibd SRCNAM=bcusdk VERSION=${VERSION:-0.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -89,4 +99,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.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/eibd/eibd.info b/system/eibd/eibd.info index 1c9a77cff6..d22565d8d9 100644 --- a/system/eibd/eibd.info +++ b/system/eibd/eibd.info @@ -1,7 +1,7 @@ PRGNAM="eibd" VERSION="0.0.4" HOMEPAGE="http://www.auto.tuwien.ac.at/~mkoegler/index.php/eibd" -DOWNLOAD="http://www.auto.tuwien.ac.at/~mkoegler/eib/bcusdk_0.0.4.tar.gz" +DOWNLOAD="http://distcache.freebsd.org/ports-distfiles/bcusdk_0.0.4.tar.gz" MD5SUM="14138f457d6530bf45cf6a966fde9d5f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |