diff --git a/libraries/slv2/slv2.SlackBuild b/libraries/slv2/slv2.SlackBuild index fb6b4be280..70379c1e94 100644 --- a/libraries/slv2/slv2.SlackBuild +++ b/libraries/slv2/slv2.SlackBuild @@ -22,6 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230701 bkw: Modified by SlackBuilds.org, BUILD=4: +# - +x permission for shared lib. +# - remove empty /usr/man/man3 dir. + # 20220424 bkw: Modified by SlackBuilds.org, BUILD=3: # - strip binaries and libraries. # - don't run ldconfig while bulding. @@ -32,7 +36,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=slv2 VERSION=${VERSION:-0.6.6} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -99,12 +103,14 @@ CXXFLAGS="$SLKCFLAGS" \ ./waf build ./waf install --destdir=$PKG strip $PKG/usr/bin/* $PKG/usr/lib*/*.so.*.*.* +chmod 755 $PKG/usr/lib*/*.so.*.*.* if [ "$LIBDIRSUFFIX" != "" ]; then sed -i "s,/lib,/lib$LIBDIRSUFFIX," \ $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc fi +rmdir $PKG/usr/man/man3 || true gzip -9 $PKG/usr/man/man*/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION