summaryrefslogtreecommitdiff
path: root/development/check
diff options
context:
space:
mode:
authorEugene M <damagedone@gmx.com>2020-06-28 13:20:59 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-08-29 10:08:41 +0700
commit909c9bddff1542e0e033dec15f609c894be02759 (patch)
treee7266052e40e9bc1c67355499974623768709479 /development/check
parentdbdce6e764d7d89bca26166f717c95911d746fc9 (diff)
downloadslackbuilds-909c9bddff1542e0e033dec15f609c894be02759.tar.gz
development/check: Fix MD5, info. Disable static.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/check')
-rw-r--r--development/check/README11
-rw-r--r--development/check/check.SlackBuild9
-rw-r--r--development/check/check.info2
3 files changed, 13 insertions, 9 deletions
diff --git a/development/check/README b/development/check/README
index 62590662e5..747690696b 100644
--- a/development/check/README
+++ b/development/check/README
@@ -1,7 +1,8 @@
-Check is a unit test framework for C. It features a simple interface for
-defining unit tests, putting little in the way of the developer. Tests are
-run in a separate address space, so Check can catch both assertion failures
-and code errors that cause segmentation faults or other signals. The output
-from unit tests can be used within source code editors and IDEs.
+Check is a unit test framework for C. It features a simple interface
+for defining unit tests, putting little in the way of the developer.
+Tests are run in a separate address space, so Check can catch both
+assertion failures and code errors that cause segmentation faults or
+other signals. The output from unit tests can be used within source
+code editors and IDEs.
See the project's home page for more information, including a tutorial.
diff --git a/development/check/check.SlackBuild b/development/check/check.SlackBuild
index a074cf66ee..527c0256bb 100644
--- a/development/check/check.SlackBuild
+++ b/development/check/check.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=check
VERSION=${VERSION:-0.15.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -78,6 +78,8 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
+ --infodir=/usr/info \
+ --disable-static \
--build=$ARCH-slackware-linux
make
@@ -89,8 +91,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-rm -f $PKG/usr/info/dir
-rm -rf $PKG/usr/share/doc
+rm -rf $PKG/usr/info/dir
+gzip -9 $PKG/usr/info/*.info*
+rm -rf $PKG/usr/share/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a INSTALL NEWS README THANKS TODO \
diff --git a/development/check/check.info b/development/check/check.info
index 95ebf167ce..506eef4272 100644
--- a/development/check/check.info
+++ b/development/check/check.info
@@ -2,7 +2,7 @@ PRGNAM="check"
VERSION="0.15.0"
HOMEPAGE="https://libcheck.github.io/check/"
DOWNLOAD="https://github.com/libcheck/check/releases/download/0.15.0/check-0.15.0.tar.gz"
-MD5SUM="86dc361a4320b7798b6146b11cb87426"
+MD5SUM="77b27bd48f9b16844c2f62333639a246"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""