diff options
-rw-r--r-- | audio/carla/carla.SlackBuild | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/audio/carla/carla.SlackBuild b/audio/carla/carla.SlackBuild index a764768409..06bd034a54 100644 --- a/audio/carla/carla.SlackBuild +++ b/audio/carla/carla.SlackBuild @@ -3,11 +3,15 @@ # # Michales (clavisound) Michaloudes korgie@gmail.com <2018-2022> +# 20230701 bkw: Modified by SlackBuilds.org, BUILD=2: +# - +x permissions for shared libs. +# - rm INSTALL.md (compile instructions) from doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=carla VERSION=${VERSION:-2.5.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -21,9 +25,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -69,11 +70,12 @@ make install PREFIX=/usr LIBDIR=/usr/lib$LIBDIRSUFFIX DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - INSTALL.md README.md doc/* \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG -type f -a -name '*.so' -exec chmod 755 {} + + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a README.md doc/* $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |