summaryrefslogtreecommitdiff
path: root/libraries/zfec
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/zfec')
-rw-r--r--libraries/zfec/slack-desc2
-rw-r--r--libraries/zfec/zfec.SlackBuild21
-rw-r--r--libraries/zfec/zfec.info6
3 files changed, 16 insertions, 13 deletions
diff --git a/libraries/zfec/slack-desc b/libraries/zfec/slack-desc
index 7a72c1bb0a..7dd23a8c13 100644
--- a/libraries/zfec/slack-desc
+++ b/libraries/zfec/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler----------------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
zfec: zfec (fast erasure codec)
zfec:
zfec: Fast, portable, programmable erasure coding a.k.a. "forward error
diff --git a/libraries/zfec/zfec.SlackBuild b/libraries/zfec/zfec.SlackBuild
index b806568df7..6bbba47fb7 100644
--- a/libraries/zfec/zfec.SlackBuild
+++ b/libraries/zfec/zfec.SlackBuild
@@ -27,16 +27,14 @@
# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
PRGNAM=zfec
-VERSION=${VERSION:-1.4.22}
+VERSION=${VERSION:-1.4.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -46,14 +44,18 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="COPYING.GPL COPYING.TGPPL.html README.rst"
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
set -e
@@ -71,14 +73,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py build || exit 1
-python setup.py install --root=$PKG || exit 1
+python setup.py install --root=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING.GPL COPYING.TGPPL.html README.rst \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
#cleanup
diff --git a/libraries/zfec/zfec.info b/libraries/zfec/zfec.info
index e699893d22..6b9af2e4c6 100644
--- a/libraries/zfec/zfec.info
+++ b/libraries/zfec/zfec.info
@@ -1,8 +1,8 @@
PRGNAM="zfec"
-VERSION="1.4.22"
+VERSION="1.4.24"
HOMEPAGE="http://pypi.python.org/pypi/zfec"
-DOWNLOAD="http://pypi.python.org/packages/source/z/zfec/zfec-1.4.22.tar.gz"
-MD5SUM="105745eb9d3db8f909786a0b39153a79"
+DOWNLOAD="http://pypi.python.org/packages/source/z/zfec/zfec-1.4.24.tar.gz"
+MD5SUM="e1bca3a1f18374f72bdf8cd42ea9c919"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Markus Reichelt"