diff options
author | Nishant Limbahcia <nishant@mnspace.net> | 2011-07-16 20:56:43 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-07-21 22:52:09 -0500 |
commit | 0a69187064b6aaea0ad63a7757e4e73328ac352d (patch) | |
tree | 16cd762eddf3a0027e6f56c0ccd724ec3d250444 /network/memcached | |
parent | 1a5bc32701a9570ed21b74939bd78aa4a3dc148b (diff) | |
download | slackbuilds-0a69187064b6aaea0ad63a7757e4e73328ac352d.tar.gz |
network/memcached: Updated for version 1.4.6 + new maintainer.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/memcached')
-rw-r--r-- | network/memcached/memcached.SlackBuild | 51 | ||||
-rw-r--r-- | network/memcached/memcached.info | 14 | ||||
-rw-r--r-- | network/memcached/slack-desc | 7 |
3 files changed, 50 insertions, 22 deletions
diff --git a/network/memcached/memcached.SlackBuild b/network/memcached/memcached.SlackBuild index cf55485c04..8b1c732586 100644 --- a/network/memcached/memcached.SlackBuild +++ b/network/memcached/memcached.SlackBuild @@ -1,19 +1,41 @@ #!/bin/sh # Slackware build script for memcached -# Written by Conrado Ruch Jr conradojr@gmail.com +# Home Page: http://memcached.org/ -PRGNAM=memcached -VERSION=1.2.8 +# Copyright (c) 2011, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ net> +# All rights reserved. + +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: + +# 1. Redistributions of script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Originally written by Conrado Ruch Jr conradojr@gmail.com + +PRGNAM="memcached" +VERSION=${VERSION:-1.4.6} 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 @@ -37,6 +59,13 @@ else LIBDIRSUFFIX="" fi +# seems like we need this. +if [ "$ARCH" = "x86_64" ]; then + build64="--enable-64bit" +else + build64="" +fi + set -e rm -rf $PKG @@ -55,20 +84,18 @@ CFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ + $build64 \ --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG -( cd $PKG/usr/man || exit - 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/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog NEWS README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog \ + NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/network/memcached/memcached.info b/network/memcached/memcached.info index 6cf20e9a59..6c23f26c25 100644 --- a/network/memcached/memcached.info +++ b/network/memcached/memcached.info @@ -1,10 +1,10 @@ PRGNAM="memcached" -VERSION="1.2.8" -HOMEPAGE="http://danga.com/memcached/" -DOWNLOAD="http://memcached.googlecode.com/files/memcached-1.2.8.tar.gz" -MD5SUM="e5a4ee04e517a5cad110f29e4490e4ab" +VERSION="1.4.6" +HOMEPAGE="http://memcached.org/" +DOWNLOAD="http://memcached.googlecode.com/files/memcached-1.4.6.tar.gz" +MD5SUM="243e5d82de27e6e45caf0ebfd400e41a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -MAINTAINER="Conrado Ruch Jr" -EMAIL="conradojr@gmail.com" -APPROVED="rworkman" +MAINTAINER="Nishant Limbahcia" +EMAIL="nishant@mnspace.net" +APPROVED="Niels Horn" diff --git a/network/memcached/slack-desc b/network/memcached/slack-desc index 1390a5f3b2..dea3e95088 100644 --- a/network/memcached/slack-desc +++ b/network/memcached/slack-desc @@ -5,14 +5,15 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler-----------------------------------------------------| + |-----handy-ruler------------------------------------------------------| memcached: memcached (object caching system) memcached: memcached: memcached is a high-performance, distributed memory object -memcached: caching system, generic in nature, but intended for use in +memcached: caching system, generic in nature, but intended for use in memcached: speeding up dynamic web applications by alleviating database load. memcached: -memcached: Homepage: http://danga.com/memcached/ +memcached: Homepage: http://memcached.org/ +memcached: memcached: memcached: memcached: |