libraries/rhonabwy: updated for version 0.9.999

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Arn0 2021-04-12 09:32:55 +02:00 committed by Willy Sudiarto Raharjo
parent 8ba6e2e9dc
commit b53738b754
2 changed files with 13 additions and 8 deletions

View File

@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=rhonabwy
VERSION=${VERSION:-0.9.99}
VERSION=${VERSION:-0.9.999}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -39,16 +39,16 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
SLKCFLAGS="-O2 -march=i586 -mtune=i686 -Wno-error=maybe-uninitialized"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
SLKCFLAGS="-O2 -march=i686 -mtune=i686 -Wno-error=maybe-uninitialized"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
SLKCFLAGS="-O2 -fPIC -Wno-error=maybe-uninitialized"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
SLKCFLAGS="-O2 -Wno-error=maybe-uninitialized"
LIBDIRSUFFIX=""
fi
@ -82,6 +82,11 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr/
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
DOCS="LICENSE README.md"
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -1,8 +1,8 @@
PRGNAM="rhonabwy"
VERSION="0.9.99"
VERSION="0.9.999"
HOMEPAGE="https://github.com/babelouest/rhonabwy"
DOWNLOAD="https://github.com/babelouest/rhonabwy/archive/v0.9.99/rhonabwy-0.9.99.tar.gz"
MD5SUM="46853f67a106a6f7ae98ef98d3244b0a"
DOWNLOAD="https://github.com/babelouest/rhonabwy/archive/v0.9.999/rhonabwy-0.9.999.tar.gz"
MD5SUM="b267fce07eeafc3ed327ecfb5400c93c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jansson libmicrohttpd ulfius"