libraries/libmemcached: Updated for version 0.40.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Nishant Limbachia 2010-07-05 14:33:20 -04:00 committed by Erik Hanson
parent 86be5938d5
commit 1094379a98
3 changed files with 13 additions and 14 deletions

View file

@ -2,3 +2,4 @@ libmemcached is a C and C++ client library to the memcached server.
It has been designed to be light on memory usage, thread safe, and
provide full access to server side methods.
Requires: memcached

View file

@ -25,7 +25,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libmemcached
VERSION=0.40
VERSION=0.41
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -67,11 +67,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $TMP/$PRGNAM-$VERSION
chown -R root.root .
find . \
\( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \
-exec chmod 644 {} \;
find . \
\( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \
-exec chmod 755 {} \;
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -90,12 +89,11 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog NEWS README* THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog NEWS README* THANKS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,10 +1,10 @@
PRGNAM="libmemcached"
VERSION="0.40"
HOMEPAGE="http://libmemcached.org/libMemcached.html"
DOWNLOAD="http://launchpad.net/libmemcached/1.0/0.40a/+download/libmemcached-0.40.tar.gz"
MD5SUM="3566611b0cff70cfde3979a95f62fe85"
DOWNLOAD="http://launchpad.net/libmemcached/1.0/0.41/+download/libmemcached-0.41.tar.gz"
MD5SUM="d39c27bdbf69bb46023f0f62b2c88449"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
APPROVED="Erik Hanson"
APPROVED="dsomero"