wok-next view check/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 8db06e7505f5
children e19ff076dc63
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="devel@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="$PACKAGE-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 }