wok-next view check/receipt @ rev 20978

Small improvements
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Sep 27 01:34:11 2018 +0300 (2018-09-27)
parents 835b3b8ce6ac
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="check"
4 VERSION="0.12.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="A unit testing framework for C"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://libcheck.github.io/check/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter05/check.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/libcheck/check/releases/download/$VERSION/$TARBALL"
15 SPLIT="check-dev"
17 compile_rules() {
18 ./configure \
19 --disable-static \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 check)
29 copy *.so*
30 ;;
31 *-dev)
32 copy @dev checkmk
33 rm -r $fs/usr/share/doc
34 ;;
35 esac
36 }