libraries/slv2: Fix shared lib permissions.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
e68e52bbcc
commit
aa5bdfe8b4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue