aboutsummaryrefslogtreecommitdiff
path: root/libraries/obnc-libstd
diff options
context:
space:
mode:
authorJorge Giner <jorge.giner@hotmail.com>2017-10-31 21:50:05 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-01 07:34:14 +0700
commit2226713dfa3b7dee92597812983de3b53812d7fa (patch)
tree5730f902608da8067037d26934537df4ab319466 /libraries/obnc-libstd
parent6ef0b72f9f1c4afed0621948fbd688e1061b9ec7 (diff)
libraries/obnc-libstd: Updated for version 0.3.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/obnc-libstd')
-rw-r--r--libraries/obnc-libstd/README8
-rw-r--r--libraries/obnc-libstd/obnc-libstd.SlackBuild7
2 files changed, 7 insertions, 8 deletions
diff --git a/libraries/obnc-libstd/README b/libraries/obnc-libstd/README
index 8b0e79749626..8916193eaa70 100644
--- a/libraries/obnc-libstd/README
+++ b/libraries/obnc-libstd/README
@@ -1,6 +1,6 @@
obnc-libstd (Standard Library for OBNC)
-This package complements the basic libraries bundled with OBNC (the
-Oberon compiler obnc) with modules for accessing command line arguments
-and evironment variables, printing to the standard error stream and
-converting numbers to strings and viceversa.
+This package complements the basic libraries bundled with OBNC (the Oberon
+compiler obnc) with modules for accessing command line arguments and
+evironment variables, printing to the standard error stream and converting
+numbers to strings and viceversa.
diff --git a/libraries/obnc-libstd/obnc-libstd.SlackBuild b/libraries/obnc-libstd/obnc-libstd.SlackBuild
index 9438b9bf24f5..25bd6860e02e 100644
--- a/libraries/obnc-libstd/obnc-libstd.SlackBuild
+++ b/libraries/obnc-libstd/obnc-libstd.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=obnc-libstd
-VERSION=${VERSION:-0.2.1}
+VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,15 +73,14 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./build
-./install $PKG/usr
+./install --prefix=/usr --libdir=lib${LIBDIRSUFFIX} --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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/obnc/std/* $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/obnc/* $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share
-
cp -a COPYING VERSION README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild