diff options
Diffstat (limited to 'libraries/libmemcached')
-rw-r--r-- | libraries/libmemcached/libmemcached.SlackBuild | 25 | ||||
-rw-r--r-- | libraries/libmemcached/libmemcached.info | 8 |
2 files changed, 17 insertions, 16 deletions
diff --git a/libraries/libmemcached/libmemcached.SlackBuild b/libraries/libmemcached/libmemcached.SlackBuild index db75f9cf47b0f..7983734b20423 100644 --- a/libraries/libmemcached/libmemcached.SlackBuild +++ b/libraries/libmemcached/libmemcached.SlackBuild @@ -26,7 +26,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libmemcached -VERSION=${VERSION:-0.44} +VERSION=${VERSION:-0.46} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,14 +65,13 @@ rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $TMP/$PRGNAM-$VERSION -chown -R root.root . +cd $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,13 +89,15 @@ CXXFLAGS="$SLKCFLAGS" \ 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 - -### find and compress man pages 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 \ + $PKG/usr/doc/$PRGNAM-$VERSION +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 148e7e74fe5d6..257ae854c8b31 100644 --- a/libraries/libmemcached/libmemcached.info +++ b/libraries/libmemcached/libmemcached.info @@ -1,10 +1,10 @@ PRGNAM="libmemcached" -VERSION="0.44" +VERSION="0.46" HOMEPAGE="http://libmemcached.org/libMemcached.html" -DOWNLOAD="http://launchpad.net/libmemcached/1.0/0.44/+download/libmemcached-0.44.tar.gz" -MD5SUM="e6bd825c46fa080b550f90f9001cba8c" +DOWNLOAD="http://launchpad.net/libmemcached/1.0/0.46/+download/libmemcached-0.46.tar.gz" +MD5SUM="595343ebcf11b034c5c952fefeb18c98" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" -APPROVED="pprkut" +APPROVED="rworkman" |