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>
This commit is contained in:
Benjamin Trigona-Harany 2014-06-20 00:29:26 -07:00 committed by Willy Sudiarto Raharjo
parent 0ca404fff6
commit 277196dff6
2 changed files with 15 additions and 9 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="cunit"
VERSION="2.1_2"
VERSION="2.1_3"
HOMEPAGE="http://cunit.sourceforge.net"
DOWNLOAD="http://sourceforge.net/projects/cunit/files/CUnit/2.1-2/CUnit-2.1-2-src.tar.bz2"
MD5SUM="31c62bd7a65007737ba28b7aafc44d3a"
DOWNLOAD="http://sourceforge.net/projects/cunit/files/CUnit/2.1-3/CUnit-2.1-3.tar.bz2"
MD5SUM="b5f1a9f6093869c070c6e4a9450cc10c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""