aboutsummaryrefslogtreecommitdiff
path: root/libraries/ulfius/ulfius.SlackBuild
diff options
context:
space:
mode:
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 6772bed76678..f01a98a27c72 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"