wok view check/receipt @ rev 24768

libwebkit: bison 3 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 12:46:44 2022 +0000 (2022-03-19)
parents 5ea0ce1cecc0
children fe1b5660fdd1
line source
1 # SliTaz package receipt.
3 PACKAGE="check"
4 VERSION="0.15.2"
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 \
30 --disable-build-docs \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_files *.so*
40 }