summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/kmess/kmess.SlackBuild24
-rw-r--r--network/kmess/kmess.info6
2 files changed, 17 insertions, 13 deletions
diff --git a/network/kmess/kmess.SlackBuild b/network/kmess/kmess.SlackBuild
index 6d6292dfa4..6bd0bca3d2 100644
--- a/network/kmess/kmess.SlackBuild
+++ b/network/kmess/kmess.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kmess
-VERSION=2.0
+VERSION=${VERSION:-2.0.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,8 @@ set -e
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+rm -fr $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -69,14 +70,17 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-cmake . \
--DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
--DCMAKE_C_FLAGS="${SLKCFLAGS}" \
--DCMAKE_INSTALL_PREFIX="/usr" \
--DLIB_SUFFIX=${LIBDIRSUFFIX}
-
-make
-make install DESTDIR=$PKG
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
diff --git a/network/kmess/kmess.info b/network/kmess/kmess.info
index 6eb18efb53..51a7e19d01 100644
--- a/network/kmess/kmess.info
+++ b/network/kmess/kmess.info
@@ -1,8 +1,8 @@
PRGNAM="kmess"
-VERSION="2.0"
+VERSION="2.0.6.2"
HOMEPAGE="http://kmess.org/"
-DOWNLOAD="http://downloads.sourceforge.net/sourceforge/kmess/kmess-2.0.tar.gz"
-MD5SUM="619781ad93c9848672b17ecc8536545c"
+DOWNLOAD="http://downloads.sourceforge.net/kmess/kmess-2.0.6.2.tar.bz2"
+MD5SUM="a2e57911713308bef81b9347135cc5dd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""