desktop/ede: Fix build with jam.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2015-09-16 03:39:56 +07:00
parent 7c3427b0b5
commit 946d7e3d23

View file

@ -24,7 +24,7 @@
PRGNAM=ede
VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -86,9 +86,9 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-largefile=yes \
--build=$ARCH-slackware-linux
jam
jam || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
jam -sDESTDIR=$PKG -sEDE_DOC_DIR=/usr/doc/${PRGNAM}-${VERSION} install
jam -sDESTDIR=$PKG -sEDE_DOC_DIR=/usr/doc/${PRGNAM}-${VERSION} install || true
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