diff options
author | B. Watson <yalhcru@gmail.com> | 2020-01-29 15:13:41 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-02-01 09:00:29 +0700 |
commit | 3812e5a58eb8c6c5fd1197c97a7cd98b2a89c447 (patch) | |
tree | 1b0e1088b83bc2fb8d9e8a8b074e0a606880f614 /system/lzop/lzop.SlackBuild | |
parent | e25f38763ae612417b26c47d06e1539a93d92d76 (diff) |
system/lzop: New maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/lzop/lzop.SlackBuild')
-rw-r--r-- | system/lzop/lzop.SlackBuild | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/system/lzop/lzop.SlackBuild b/system/lzop/lzop.SlackBuild index 9b79e00db12d0..9e93aae47b064 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 |