diff options
Diffstat (limited to 'development/obcpl/obcpl.SlackBuild')
-rw-r--r-- | development/obcpl/obcpl.SlackBuild | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/development/obcpl/obcpl.SlackBuild b/development/obcpl/obcpl.SlackBuild index 271ee867aeb80..77595517e23fc 100644 --- a/development/obcpl/obcpl.SlackBuild +++ b/development/obcpl/obcpl.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230103 bkw: BUILD=3, fix broken LIBHDR symlink in doc dic. + # 20210906 bkw: BUILD=2 # - fix build on -current # - add missing docs to docdir @@ -16,7 +18,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=obcpl VERSION=${VERSION:-0.9.8} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -124,12 +126,17 @@ cd .. # util/ is included as example code. Also our own examples/ dir. -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples -cp -a C* README doc/*.txt util $PKG/usr/doc/$PRGNAM-$VERSION +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC/examples +cp -a C* README doc/*.txt util $PKGDOC for i in $CWD/examples/*; do - cat $i > $PKG/usr/doc/$PRGNAM-$VERSION/examples/$( basename $i ) + cat $i > $PKGDOC/examples/$( basename $i ) done -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild + +# 20230103 bkw: fix broken symlink in util. +rm -f $PKGDOC/util/LIBHDR +ln -s ../../../lib$LIBDIRSUFFIX/$PRGNAM/LIBHDR $PKGDOC/util/LIBHDR mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |