summaryrefslogtreecommitdiffstats
path: root/development/cunit/cunit.SlackBuild
diff options
context:
space:
mode:
author Benjamin Trigona-Harany2014-06-20 09:29:26 +0200
committer Willy Sudiarto Raharjo2014-06-21 08:01:24 +0200
commit277196dff693bcaa67f1e90929b55096b8243221 (patch)
treeb28cf15fee862a3987cc1ad48f5c3a1f1e1f4246 /development/cunit/cunit.SlackBuild
parent0ca404fff6b54732c5675e4f230626bd9b320372 (diff)
downloadslackbuilds-277196dff693bcaa67f1e90929b55096b8243221.tar.gz
development/cunit: Updated for version 2.1-3.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/cunit/cunit.SlackBuild')
-rw-r--r--development/cunit/cunit.SlackBuild20
1 files changed, 13 insertions, 7 deletions
diff --git a/development/cunit/cunit.SlackBuild b/development/cunit/cunit.SlackBuild
index 29808129c3..1347cd75d2 100644
--- a/development/cunit/cunit.SlackBuild
+++ b/development/cunit/cunit.SlackBuild
@@ -24,7 +24,7 @@
SRCNAM=CUnit
PRGNAM=cunit
-VERSION=${VERSION:-2.1_2}
+VERSION=${VERSION:-2.1_3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,21 +63,27 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$SRCVERSION
-tar xvf $CWD/$SRCNAM-$SRCVERSION-src.tar.bz2
+tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.bz2
cd $SRCNAM-$SRCVERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+libtoolize --force --copy
+aclocal
+autoheader
+automake --add-missing --include-deps --copy
+autoconf
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--build=$ARCH \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --enable-static=no \
--build=$ARCH-slackware-linux
make