wok-current view check/receipt @ rev 24256
updated perl-test-mockmodule (0.172.0 -> 0.177.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:02:41 2022 +0100 (2022-01-02) |
parents | 5fa396eb0eeb |
children | f2701f2b47f2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="check"
4 VERSION="0.13.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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/libcheck/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS="autoconf automake libtool"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 autoreconf --install &&
29 ./configure $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }