network/cadaver: Updated for version 0.23.3
This commit is contained in:
parent
19824e0015
commit
e826751603
|
@ -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}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue