diff options
Diffstat (limited to 'libraries/libbsd/libbsd.SlackBuild')
-rw-r--r-- | libraries/libbsd/libbsd.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libraries/libbsd/libbsd.SlackBuild b/libraries/libbsd/libbsd.SlackBuild index 40f2d2508d018..f86dd621de4d5 100644 --- a/libraries/libbsd/libbsd.SlackBuild +++ b/libraries/libbsd/libbsd.SlackBuild @@ -1,5 +1,8 @@ #!/bin/sh +# Slackware build script for libbsd + +# Copyright 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # Copyright (c) 2010-2020 LEVAI Daniel # All rights reserved. # @@ -25,8 +28,6 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Build script for libbsd - PRGNAM=libbsd VERSION=${VERSION:-0.10.0} BUILD=${BUILD:-1} @@ -69,10 +70,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.xz 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 {} \; + \( -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 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -82,7 +83,7 @@ CFLAGS="$SLKCFLAGS" \ --disable-static \ --build=$ARCH-slackware-linux -make install DESTDIR=$PKG +make install-strip DESTDIR=$PKG find $PKG/usr/man -type f -exec gzip -9 {} \; |