summaryrefslogtreecommitdiffstats
path: root/aften
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2009-05-27 12:08:47 +0000
committer Eric Hameleers <alien@slackware.com>2009-05-27 12:08:47 +0000
commitcb385fb96a84f8433c0c4bcf5f1f6c3b6906cffe (patch)
treef36007f6ec27f36fc4699e13c7526dc99e8c7f88 /aften
parent7a17b08b848232819a583246bf2ce4803b299d19 (diff)
downloadasb-cb385fb96a84f8433c0c4bcf5f1f6c3b6906cffe.tar.gz
asb-cb385fb96a84f8433c0c4bcf5f1f6c3b6906cffe.tar.xz
Fix the little bugs
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