aboutsummaryrefslogtreecommitdiff
path: root/libraries/libpng-legacy12
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-01-25 03:03:56 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-30 08:35:59 +0700
commit97da18cf64956b5650d44975f1613a15cbb24e40 (patch)
treea2d355e4a73347f581465c13409ae1eed50527b5 /libraries/libpng-legacy12
parent45ef0ed28443407390aae14586bc3bc4ee6e124b (diff)
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>
Diffstat (limited to 'libraries/libpng-legacy12')
-rw-r--r--libraries/libpng-legacy12/libpng-legacy12.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/libpng-legacy12/libpng-legacy12.SlackBuild b/libraries/libpng-legacy12/libpng-legacy12.SlackBuild
index 8be0855b3fbb..6a8b233c0a85 100644
--- a/libraries/libpng-legacy12/libpng-legacy12.SlackBuild
+++ b/libraries/libpng-legacy12/libpng-legacy12.SlackBuild
@@ -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