diff --git a/libraries/obnc-libstd/README b/libraries/obnc-libstd/README index 8b0e797496..8916193eaa 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 9438b9bf24..25bd6860e0 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