mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
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>
This commit is contained in:
parent
1b2e32d1da
commit
712f6168af
1 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue