summaryrefslogtreecommitdiffstats
path: root/aften
diff options
context:
space:
mode:
Diffstat (limited to 'aften')
-rwxr-xr-xaften/build/aften.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/aften/build/aften.SlackBuild b/aften/build/aften.SlackBuild
index d03e27aa..58db1be3 100755
--- a/aften/build/aften.SlackBuild
+++ b/aften/build/aften.SlackBuild
@@ -142,9 +142,9 @@ mkdir build_$ARCH ; cd build_$ARCH
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DBINDINGS_CXX=1 \
-DCMAKE_INSTALL_PREFIX:STRING="/usr" \
- -DMAN_INSTALL_DIR=/usr/man \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib/${LIBDIRSUFFIX} \
-DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" \
-DSHARED:BOOL="TRUE" \
.. \
@@ -165,12 +165,6 @@ cat $SRCDIR/$(basename $0) | sed \
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc -type f -exec chmod 644 {} \;
-# Compress the man page(s):
-if [ -d $PKG/usr/man ]; then
- find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
- for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-fi
-
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null