diff options
author | Nicolas Steinmetz <nsteinmetz@gmail.com> | 2010-04-17 15:33:47 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-15 10:38:12 +0200 |
commit | bcffb6006330833cbe58ee168ac792df7cf3378c (patch) | |
tree | 28bab4fadd44639c81f6c1a40556ee59eadc06fd /development/couchdb/couchdb.SlackBuild | |
parent | 07997e1b7c261b244517a5d96bb3f8fc2caec3a4 (diff) |
development/couchdb: Updated for version 0.11.0.
Diffstat (limited to 'development/couchdb/couchdb.SlackBuild')
-rw-r--r-- | development/couchdb/couchdb.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/development/couchdb/couchdb.SlackBuild b/development/couchdb/couchdb.SlackBuild index 9d840835184e..9a33c9cdded7 100644 --- a/development/couchdb/couchdb.SlackBuild +++ b/development/couchdb/couchdb.SlackBuild @@ -6,7 +6,7 @@ # Heavily modified by Robby Workman <rworkman@slackbuilds.org> PRGNAM=couchdb -VERSION=0.10.1 +VERSION=0.11.0 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -16,12 +16,12 @@ PKGSRC=apache-couchdb CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} ## couchdb user & group *MUST* exist before package creation # See http://slackbuilds.org/uid_gid.txt for current recomendations. bailout() { - printf " The couchdb user and group do not exist. + printf " The couchdb user and group do not exist. You should create it/them with the following: groupadd -g 231 couchdb useradd -u 231 -g couchdb -d /var/lib/couchdb -s /bin/sh couchdb\n" @@ -44,11 +44,11 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" -fi +fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PKGSRC-$VERSION cd $TMP @@ -101,7 +101,7 @@ mv $PKG/etc/logrotate.d/couchdb $PKG/etc/logrotate.d/couchdb.new ( cd $PKG/usr/man || exit 1 find . -type f -exec gzip -9 {} \; for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ |