diff options
author | B. Watson <urchlay@slackware.uk> | 2024-04-23 21:12:02 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-27 09:28:41 +0700 |
commit | 712f6168aff92ee29a3b590e208545966a00eb2e (patch) | |
tree | 9312607191cd7890e0e3dd5183768b8d3464d9f2 /libraries | |
parent | 1b2e32d1da54b1f079798edeee3358a6926f6402 (diff) |
libraries/td_lib: Add .pc file to package.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/td_lib/td_lib.SlackBuild | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/libraries/td_lib/td_lib.SlackBuild b/libraries/td_lib/td_lib.SlackBuild index bf0f96fd88280..1f9fef6ff992a 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 |