summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/cadaver/cadaver.SlackBuild20
-rw-r--r--network/cadaver/cadaver.info10
2 files changed, 19 insertions, 11 deletions
diff --git a/network/cadaver/cadaver.SlackBuild b/network/cadaver/cadaver.SlackBuild
index 42d4147f4a..ea732081b4 100644
--- a/network/cadaver/cadaver.SlackBuild
+++ b/network/cadaver/cadaver.SlackBuild
@@ -4,7 +4,7 @@
# Jean-Yves Didier revision date 2008/05/29
PRGNAM=cadaver
-VERSION=0.23.2
+VERSION=0.23.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -15,11 +15,14 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -41,6 +44,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -51,8 +55,10 @@ make
make install DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
( cd $PKG/usr/man
@@ -69,5 +75,5 @@ 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}
diff --git a/network/cadaver/cadaver.info b/network/cadaver/cadaver.info
index cb5dc59260..506cd984bd 100644
--- a/network/cadaver/cadaver.info
+++ b/network/cadaver/cadaver.info
@@ -1,8 +1,10 @@
PRGNAM="cadaver"
-VERSION="0.23.2"
+VERSION="0.23.3"
HOMEPAGE="http://www.webdav.org/cadaver/"
-DOWNLOAD="http://www.webdav.org/cadaver/cadaver-0.23.2.tar.gz"
-MD5SUM="5ac79e41f3b7b4f68bf4003beed5dc26"
+DOWNLOAD="http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz"
+DOWNLOAD_x86_64=""
+MD5SUM="502ecd601e467f8b16056d2acca39a6f"
+MD5SUM_x86_64=""
MAINTAINER="Jean-Yves Didier"
EMAIL="jean-yves.didier@ibisc.univ-evry.fr"
-APPROVED="rworkman"
+APPROVED="michiel"