wok annotate check/receipt @ rev 25759
ristretto: added mkdir command
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 01 14:55:10 2024 +0100 (7 weeks ago) |
parents | f2701f2b47f2 |
children |
rev | line source |
---|---|
erjo@13410 | 1 # SliTaz package receipt. |
erjo@13410 | 2 |
erjo@13410 | 3 PACKAGE="check" |
Hans-G?nter@24401 | 4 VERSION="0.15.2" |
erjo@13410 | 5 CATEGORY="system-tools" |
Hans-G?nter@22591 | 6 SHORT_DESC="A unit testing framework for C." |
erjo@13410 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15202 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@20780 | 9 WEB_SITE="https://libcheck.github.io/check/" |
Hans-G?nter@20780 | 10 |
erjo@13410 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@20780 | 12 WGET_URL="https://github.com/libcheck/$PACKAGE/archive/$VERSION.tar.gz" |
erjo@13410 | 13 |
erjo@13410 | 14 DEPENDS="" |
Hans-G?nter@20782 | 15 BUILD_DEPENDS="autoconf automake libtool" |
Hans-G?nter@22591 | 16 |
Hans-G?nter@20780 | 17 HOST_ARCH="i486 arm" |
erjo@13410 | 18 |
pascal@25598 | 19 # What is the latest version available today? |
pascal@24055 | 20 current_version() |
pascal@24055 | 21 { |
pascal@24055 | 22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25598 | 23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 24 } |
pascal@24055 | 25 |
erjo@13410 | 26 # Rules to configure and make the package. |
erjo@13410 | 27 compile_rules() |
erjo@13410 | 28 { |
Hans-G?nter@22591 | 29 autoreconf --install && |
Hans-G?nter@24401 | 30 ./configure \ |
Hans-G?nter@24401 | 31 --disable-build-docs \ |
Hans-G?nter@24401 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@20780 | 33 make && |
Hans-G?nter@20780 | 34 make install |
erjo@13410 | 35 } |
erjo@13410 | 36 |
erjo@13410 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@13410 | 38 genpkg_rules() |
erjo@13410 | 39 { |
Hans-G?nter@24401 | 40 cook_copy_files *.so* |
erjo@13410 | 41 } |