summaryrefslogtreecommitdiff
path: root/development/cunit/cunit.SlackBuild
diff options
context:
space:
mode:
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