aboutsummaryrefslogtreecommitdiff
path: root/libraries/libslack/libslack.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-07-03 04:58:39 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-08 16:42:06 +0700
commita52f867125613a54b6adb01b74e2e68f6b691a57 (patch)
tree198dec8385c136f231f9e520d7c0c162d394ac80 /libraries/libslack/libslack.SlackBuild
parent1f19c96ae25ea9d393cc177400f2753fbddbfe56 (diff)
libraries/libslack: Install static lib without +x permission.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libslack/libslack.SlackBuild')
-rw-r--r--libraries/libslack/libslack.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/libslack/libslack.SlackBuild b/libraries/libslack/libslack.SlackBuild
index b14ce809d581..a39e597298a6 100644
--- a/libraries/libslack/libslack.SlackBuild
+++ b/libraries/libslack/libslack.SlackBuild
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230703 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - install static library without +x permission (this is the standard).
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libslack
VERSION=${VERSION:-0.7.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -97,7 +100,7 @@ make
# "make install" is badly broken (thanks XGizzmo), so manual install
mkdir -p $PKG/usr/bin $PKG/usr/lib$LIBDIRSUFFIX $PKG/usr/include/slack
-install -m 0755 $PRGNAM.a $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM-$VERSION.a
+install -m 0644 $PRGNAM.a $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM-$VERSION.a
( cd $PKG/usr/lib$LIBDIRSUFFIX ; ln -s $PRGNAM-$VERSION.a $PRGNAM.a )
install -m 0644 *.h $PKG/usr/include/slack/