diff options
Diffstat (limited to 'source/a/xfsprogs/xfsprogs.SlackBuild')
-rwxr-xr-x | source/a/xfsprogs/xfsprogs.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/a/xfsprogs/xfsprogs.SlackBuild b/source/a/xfsprogs/xfsprogs.SlackBuild index 4293eaf9c..8c79ed459 100755 --- a/source/a/xfsprogs/xfsprogs.SlackBuild +++ b/source/a/xfsprogs/xfsprogs.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2012, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2012, 2017, 2018, 2023 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=xfsprogs VERSION=${VERSION:-$(echo xfsprogs-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-5} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -106,6 +106,9 @@ mv $PKG/usr/doc/xfsprogs $PKG/usr/doc/xfsprogs-$VERSION cp -a README doc/COPYING doc/CREDITS doc/PORTING \ $PKG/usr/doc/xfsprogs-$VERSION +# Not sure why these don't get installed automatically, but they should: +cp -a LICENSES/* $PKG/usr/doc/xfsprogs-$VERSION + rm -f $PKG/usr/doc/xfsprogs-$VERSION/CHANGES.gz # If there's a ChangeLog, installing at least part of the recent history @@ -142,7 +145,7 @@ chmod 755 $PKG/lib${LIBDIRSUFFIX}/* # Strip libraries: find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -strip -g $PKG/usr/lib${LIBDIRSUFFIX}/*.a +#strip -g $PKG/usr/lib${LIBDIRSUFFIX}/*.a mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |