libraries/liblangtag: Updated for version 0.6.3.

Signed-off-by: orbea <orbea@riseup.net>
This commit is contained in:
orbea 2020-01-04 07:27:15 -08:00 committed by Willy Sudiarto Raharjo
parent b8bd1a728b
commit b5f81c9836
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 16 additions and 11 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for liblangtag
# Copyright 2015, 2017 Hunter Sezen California, USA
# Copyright 2015, 2017, 2020 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=liblangtag
VERSION=${VERSION:-0.6.2}
VERSION=${VERSION:-0.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -54,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
set -e
set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@ -69,6 +69,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Don't create the __pycache__ directory.
export PYTHONDONTWRITEBYTECODE=1
autoreconf -fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@ -81,11 +86,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
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
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,8 +1,8 @@
PRGNAM="liblangtag"
VERSION="0.6.2"
HOMEPAGE="http://tagoh.bitbucket.org/liblangtag/"
DOWNLOAD="https://bitbucket.org/tagoh/liblangtag/downloads/liblangtag-0.6.2.tar.bz2"
MD5SUM="284f120247323a35122ab32b4b359c45"
VERSION="0.6.3"
HOMEPAGE="https://bitbucket.org/tagoh/liblangtag/wiki/Home"
DOWNLOAD="https://bitbucket.org/tagoh/liblangtag/downloads/liblangtag-0.6.3.tar.bz2"
MD5SUM="015274eb284b1dc82bf7af1d1774ec64"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View File

@ -11,7 +11,7 @@ liblangtag:
liblangtag: Liblangtag is an interface library to access/deal with tags for
liblangtag: identifying languages, which is described in RFC 5646.
liblangtag:
liblangtag: Homepage: http://tagoh.bitbucket.org/liblangtag/
liblangtag: Homepage: https://bitbucket.org/tagoh/liblangtag/wiki/Home
liblangtag:
liblangtag:
liblangtag: