libraries/libpng-legacy12: Remove .la file (not needed).

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-01-25 03:03:56 -05:00 committed by Willy Sudiarto Raharjo
parent 45ef0ed284
commit 97da18cf64
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -6,11 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20220125 bkw: BUILD=2, get rid of .la file. Nothing that depends on
# this needs it, and it might come back to bite us someday...
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libpng-legacy12
VERSION=${VERSION:-1.2.57}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -56,12 +59,9 @@ cd $TMP/$PRGNAM
tar xvf $CWD/$UPSTREAM.txz
# Include only the shared lib, plus SBo-specific docs.
# N.B. keep the .la file! The binary-only stuff that needs this, might
# also need the .la (we can't fix that).
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
cp -a \
./usr/lib$LIBDIRSUFFIX/libpng12.so.*.*.* \
./usr/lib$LIBDIRSUFFIX/libpng12.la \
$PKG/usr/lib$LIBDIRSUFFIX
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION