mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
network/memcached: Updated for version 1.4.6 + new maintainer.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
1a5bc32701
commit
0a69187064
3 changed files with 50 additions and 22 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue