summaryrefslogtreecommitdiff
path: root/network/sieve-connect/sieve-connect.SlackBuild
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2013-12-06 08:10:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-12-06 08:10:02 +0700
commit8dcf4b4881f870a147ee17ae652e8510a1c91cde (patch)
tree9de3a584c2a28e438845fe58077cb250414b391e /network/sieve-connect/sieve-connect.SlackBuild
parentf0afabad7fb3e2b89201e561d759cbecf894fd09 (diff)
downloadslackbuilds-8dcf4b4881f870a147ee17ae652e8510a1c91cde.tar.gz
network/sieve-connect: Updated for version 0.87.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/sieve-connect/sieve-connect.SlackBuild')
-rw-r--r--network/sieve-connect/sieve-connect.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/network/sieve-connect/sieve-connect.SlackBuild b/network/sieve-connect/sieve-connect.SlackBuild
index bd89979326..b582790c7f 100644
--- a/network/sieve-connect/sieve-connect.SlackBuild
+++ b/network/sieve-connect/sieve-connect.SlackBuild
@@ -28,7 +28,7 @@
# Build script for sieve-connect
PRGNAM=sieve-connect
-VERSION=0.86
+VERSION=${VERSION:-0.87}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,14 +49,14 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -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 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch < $CWD/patches/00-Makefile_DESTDIR.diff
make
-make install DESTDIR=$PKG
+mkdir -p $PKG/usr/bin $PKG/usr/man/man1
+make install PREFIX=/usr INSTALLROOT=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;