aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-29 15:13:41 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-01 09:00:29 +0700
commit3812e5a58eb8c6c5fd1197c97a7cd98b2a89c447 (patch)
tree1b0e1088b83bc2fb8d9e8a8b074e0a606880f614 /system
parente25f38763ae612417b26c47d06e1539a93d92d76 (diff)
system/lzop: New maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system')
-rw-r--r--system/lzop/README13
-rw-r--r--system/lzop/lzop.SlackBuild26
-rw-r--r--system/lzop/lzop.info4
-rw-r--r--system/lzop/slack-desc4
4 files changed, 25 insertions, 22 deletions
diff --git a/system/lzop/README b/system/lzop/README
index a3f0588e5a16..01955a1cb208 100644
--- a/system/lzop/README
+++ b/system/lzop/README
@@ -1,5 +1,8 @@
-lzop is a LZO archiver. It uses the LZO data compression library
-for compression services, and its main advantages over gzip are
-much higher compression and decompression speed (at the cost of
-some compression ratio).
-lzop is the fastest (de)compresser around.
+lzop (LZO compressor/decompressor)
+
+lzop is an LZO compressor. It uses the LZO data compression library for
+compression services, and its main advantages over gzip are much higher
+compression and decompression speed (at the cost of some compression
+ratio).
+
+lzop is the fastest (de)compressor around.
diff --git a/system/lzop/lzop.SlackBuild b/system/lzop/lzop.SlackBuild
index 9b79e00db12d..9e93aae47b06 100644
--- a/system/lzop/lzop.SlackBuild
+++ b/system/lzop/lzop.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for lzop
# Copyright (c) 2011-2017 LEVAI Daniel
+# Copyright (c) 2020 B. Watson
# All rights reserved.
#
# * Redistribution and use in source and binary forms, with or without
@@ -25,6 +26,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20200129 bkw: take over maintenance, simplify build, remove some cruft.
+
PRGNAM=lzop
VERSION=${VERSION:-1.04}
BUILD=${BUILD:-1}
@@ -66,11 +69,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,17 +80,17 @@ CFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-DESTDIR=$PKG make install
-
-strip --strip-unneeded $PKG/usr/bin/lzop
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man?/*.?
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+# 20200129 bkw: We really don't need the docs in every possible format. We
+# already got a man page in /usr/man, and .tex is the source format. Leave
+# the HTML, plain text, and PostScript.
+for ext in pod tex man; do
+ rm -f $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.$ext
+done
-mkdir -p -m 755 $PKG/usr/doc/$PRGNAM-$VERSION
-cp AUTHORS COPYING INSTALL NEWS README THANKS \
- $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc -type f -exec chmod 0644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/system/lzop/lzop.info b/system/lzop/lzop.info
index 14f47d7864f0..4f49ad43e6a5 100644
--- a/system/lzop/lzop.info
+++ b/system/lzop/lzop.info
@@ -6,5 +6,5 @@ MD5SUM="271eb10fde77a0a96b9cbf745e719ddf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="LEVAI Daniel"
-EMAIL="leva@ecentrum.hu"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/system/lzop/slack-desc b/system/lzop/slack-desc
index 37a5a0674de3..489c8cac0198 100644
--- a/system/lzop/slack-desc
+++ b/system/lzop/slack-desc
@@ -6,12 +6,12 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-lzop: lzop (LZO archiver)
+lzop: lzop (LZO compressor/decompressor)
lzop:
lzop: lzop uses the LZO data compression library for compression services,
lzop: and its main advantages over gzip are much higher compression and
lzop: decompression speed (at the cost of some compression ratio).
-lzop: lzop is the fastest (de)compresser around.
+lzop: lzop is the fastest (de)compressor around.
lzop:
lzop: Homepage: http://www.lzop.org/
lzop: