aboutsummaryrefslogtreecommitdiff
path: root/libraries/obnc-libstd/obnc-libstd.SlackBuild
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/obnc-libstd.SlackBuild
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/obnc-libstd.SlackBuild')
-rw-r--r--libraries/obnc-libstd/obnc-libstd.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/libraries/obnc-libstd/obnc-libstd.SlackBuild b/libraries/obnc-libstd/obnc-libstd.SlackBuild
index 9438b9bf24f52..25bd6860e02e6 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