summaryrefslogtreecommitdiff
path: root/network/maildrop/maildrop.SlackBuild
diff options
context:
space:
mode:
authorAndrew Strong <andrew.david.strong@gmail.com>2022-03-03 21:30:41 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-03 15:56:52 +0700
commit7670fcef5a6aee7634266800267a5fee2d05c49e (patch)
tree90c79471d0152dc8c1170a85f3c4ffabaafc52db /network/maildrop/maildrop.SlackBuild
parent31d40d5ec2f4f5cd8b8f84e6f99cb71472b5e1b8 (diff)
downloadslackbuilds-7670fcef5a6aee7634266800267a5fee2d05c49e.tar.gz
network/maildrop: Updated for version 3.0.7.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/maildrop/maildrop.SlackBuild')
-rw-r--r--network/maildrop/maildrop.SlackBuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/network/maildrop/maildrop.SlackBuild b/network/maildrop/maildrop.SlackBuild
index 4a7501c3ce..78d5f5518b 100644
--- a/network/maildrop/maildrop.SlackBuild
+++ b/network/maildrop/maildrop.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for maildrop
#
# Copyright 2010 - 2019 Šime Ramov <s@ramov.com>
-# Copyright 2019 - 2021 Andrew Strong, Blue Mountains, Australia.
+# Copyright 2019 - 2022 Andrew Strong, Blue Mountains, Australia.
#
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=maildrop
-VERSION=${VERSION:-3.0.1}
+VERSION=${VERSION:-3.0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -91,7 +91,6 @@ CXXFLAGS="$SLKCFLAGS" \
--datadir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--enable-dovecotauth \
- --with-devel \
--build=$ARCH-slackware-linux
make
@@ -107,12 +106,16 @@ 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 -pv $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/$PRGNAM/html $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share
-
cp -a \
AUTHORS COPYING* ChangeLog INSTALL README README.dovecotauth UPGRADE \
$PKG/usr/doc/$PRGNAM-$VERSION
+
+# The HTML docs are simply copies of the man pages, so are removed from
+# generated package. If you really want the HTML version of the man pages
+# simply uncomment the line below:
+# mv $PKG/usr/share/doc/$PRGNAM/html $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install