summaryrefslogtreecommitdiff
path: root/libraries/libsieve/libsieve.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libsieve/libsieve.SlackBuild')
-rw-r--r--libraries/libsieve/libsieve.SlackBuild28
1 files changed, 13 insertions, 15 deletions
diff --git a/libraries/libsieve/libsieve.SlackBuild b/libraries/libsieve/libsieve.SlackBuild
index f1c1cd9fb3..2e53ddec50 100644
--- a/libraries/libsieve/libsieve.SlackBuild
+++ b/libraries/libsieve/libsieve.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for ejabberd
+# Slackware build script for libsieve
# Copyright (c) 2010 Roberto Metere. All rights reserved.
#
@@ -24,7 +24,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libsieve
-VERSION=2.2.7
+VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,19 +66,17 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-cd src
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux
- make
- make install DESTDIR=$PKG
-cd ..
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
+make
+make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION