diff options
-rw-r--r-- | system/raft/raft.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/raft/raft.SlackBuild b/system/raft/raft.SlackBuild index 9a1b9df27f13..ca28bd357bba 100644 --- a/system/raft/raft.SlackBuild +++ b/system/raft/raft.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=raft VERSION=${VERSION:-0.18.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -85,9 +85,6 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ --build=$ARCH-slackware-linux @@ -98,6 +95,9 @@ make install DESTDIR=$PKG # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la +# Remove empty directory +rmdir --ignore-fail-on-non-empty $PKG/usr/bin + 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 |