summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2024-04-23 21:12:02 -0400
committer B. Watson <urchlay@slackware.uk>2024-04-23 21:12:02 -0400
commit153439f07b20adba6b1fd5a00b392fb346d0ccf8 (patch)
tree8079d59111b8fa6cdcc604893f20e476935425f4
parent7348664936073e3ad54706addd43560c23807ed8 (diff)
downloadslackbuilds-urchlay.tar.gz
slackbuilds-urchlay.tar.xz
libraries/td_lib: Add .pc file to package.urchlay
Signed-off-by: B. Watson <urchlay@slackware.uk>
-rw-r--r--libraries/td_lib/td_lib.SlackBuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/libraries/td_lib/td_lib.SlackBuild b/libraries/td_lib/td_lib.SlackBuild
index bf0f96fd88..1f9fef6ff9 100644
--- a/libraries/td_lib/td_lib.SlackBuild
+++ b/libraries/td_lib/td_lib.SlackBuild
@@ -12,11 +12,17 @@
# path of least resistance is to break this library out into its own
# build, even though nothing else besides ded uses it.
+# 20240423 bkw, BUILD=2: add missing .pc file to package. I thought
+# ded was compiling OK without it, but it was actually pulling in
+# td_lib from $TMP, not the installed package... which meant building
+# td_lib followed by ded seemed to work, but building td_lib, then "rm
+# -rf /tmp/SBo", *then* building ded would fail. Grr.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=td_lib
VERSION=${VERSION:-20230122}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -84,6 +90,11 @@ CXXFLAGS="$SLKCFLAGS" \
make -j1
make -j1 install DESTDIR=$PKG
+# 20240423 bkw: make install doesn't install this, ded needs it.
+PC=$PKG/usr/lib$LIBDIRSUFFIX/pkgconfig
+mkdir -p $PC
+cp -a support/$PRGNAM.pc $PC
+
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
cp -a CHANGES COPYING README $PKGDOC