aboutsummaryrefslogtreecommitdiff
path: root/libraries/obnc-libstd/obnc-libstd.SlackBuild
diff options
context:
space:
mode:
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 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