diff options
-rw-r--r-- | libraries/libmemcached/README | 2 | ||||
-rw-r--r-- | libraries/libmemcached/libmemcached.SlackBuild | 25 | ||||
-rw-r--r-- | libraries/libmemcached/libmemcached.info | 8 | ||||
-rw-r--r-- | libraries/libmemcached/slack-desc | 5 |
4 files changed, 21 insertions, 19 deletions
diff --git a/libraries/libmemcached/README b/libraries/libmemcached/README index da3a28b0f417..c3254105f7f2 100644 --- a/libraries/libmemcached/README +++ b/libraries/libmemcached/README @@ -2,4 +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 +This requires memcached. diff --git a/libraries/libmemcached/libmemcached.SlackBuild b/libraries/libmemcached/libmemcached.SlackBuild index 7be27e520b4f..4d801786e56b 100644 --- a/libraries/libmemcached/libmemcached.SlackBuild +++ b/libraries/libmemcached/libmemcached.SlackBuild @@ -25,16 +25,14 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libmemcached -VERSION=0.41 +VERSION=0.42 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 @@ -63,14 +61,15 @@ set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $TMP/$PRGNAM-$VERSION chown -R root.root . find . \ - \( -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 {} \; + \( -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 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -88,12 +87,14 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +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/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog NEWS README* THANKS TODO \ +cp -a \ + AUTHORS COPYING ChangeLog NEWS README* THANKS TODO \ $PKG/usr/doc/$PRGNAM-$VERSION - -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 +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/libmemcached/libmemcached.info b/libraries/libmemcached/libmemcached.info index 0dcffe74e8ac..a51c5b3b22c0 100644 --- a/libraries/libmemcached/libmemcached.info +++ b/libraries/libmemcached/libmemcached.info @@ -1,10 +1,10 @@ PRGNAM="libmemcached" -VERSION="0.40" +VERSION="0.42" HOMEPAGE="http://libmemcached.org/libMemcached.html" -DOWNLOAD="http://launchpad.net/libmemcached/1.0/0.41/+download/libmemcached-0.41.tar.gz" -MD5SUM="d39c27bdbf69bb46023f0f62b2c88449" +DOWNLOAD="http://launchpad.net/libmemcached/1.0/0.42/+download/libmemcached-0.42.tar.gz" +MD5SUM="7e9092715f06beeef53a170ace882a09" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" -APPROVED="dsomero" +APPROVED="rworkman" diff --git a/libraries/libmemcached/slack-desc b/libraries/libmemcached/slack-desc index 65bb4e7e17e7..5c96934ea2e0 100644 --- a/libraries/libmemcached/slack-desc +++ b/libraries/libmemcached/slack-desc @@ -4,15 +4,16 @@ # on the right side marks the last column you can put a character in. You must # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. + |-----handy-ruler------------------------------------------------| -libmemcached: libmemcached +libmemcached: libmemcached (memcached library) libmemcached: libmemcached: libmemcached is a C and C++ client library to the memcached libmemcached: server. It has been designed to be light on memory usage, libmemcached: thread safe, and provide full access to server side methods. libmemcached: -libmemcached: libmemcached: Home Page http://libmemcached.org/libMemcached.html libmemcached: libmemcached: libmemcached: +libmemcached: |