summaryrefslogtreecommitdiff
path: root/libraries/ulfius/ulfius.SlackBuild
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2022-05-29 13:40:24 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-06-04 10:37:02 +0700
commit32dfac061a1a9306200d69dc2b13f028455df89a (patch)
treed5510fbb495c05cd24a268147776dc9c0f4e62dd /libraries/ulfius/ulfius.SlackBuild
parent51894a0aa728372925800483914a9cd060a8bc91 (diff)
downloadslackbuilds-32dfac061a1a9306200d69dc2b13f028455df89a.tar.gz
libraries/ulfius: Updated for version 2.7.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ulfius/ulfius.SlackBuild')
-rw-r--r--libraries/ulfius/ulfius.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/libraries/ulfius/ulfius.SlackBuild b/libraries/ulfius/ulfius.SlackBuild
index 6772bed766..f01a98a27c 100644
--- a/libraries/ulfius/ulfius.SlackBuild
+++ b/libraries/ulfius/ulfius.SlackBuild
@@ -20,14 +20,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 20220421 bkw: Modified by SlackBuilds.org, BUILD=2:
-# - remove empty/useless files from doc dir.
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ulfius
-VERSION=${VERSION:-2.7.9}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.7.10}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,14 +80,14 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_DOCDIR=doc/$PRGNAM-$VERSION \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
make install/strip DESTDIR=$PKG
cd ..
-mv $PKG/usr/share/man $PKG/usr
-rm -rf $PKG/usr/share
-gzip -9 $PKG/usr/man/man*/*
+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
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
DOCS="CHANGELOG.md LICENSE README.md"