mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
libraries/obnc-libstd: Updated for version 0.3.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
6ef0b72f9f
commit
2226713dfa
2 changed files with 7 additions and 8 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue