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>
This commit is contained in:
B. Watson 2023-07-03 04:58:39 -04:00 committed by Willy Sudiarto Raharjo
parent 1f19c96ae2
commit a52f867125
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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/