wok annotate check/receipt @ rev 24482

updated diffutils (3.7 -> 3.8)
author Hans-G?nter Theisgen
date Fri Feb 18 14:45:09 2022 +0100 (2022-02-18)
parents 5ea0ce1cecc0
children fe1b5660fdd1
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@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
erjo@13410 25 # Rules to configure and make the package.
erjo@13410 26 compile_rules()
erjo@13410 27 {
Hans-G?nter@22591 28 autoreconf --install &&
Hans-G?nter@24401 29 ./configure \
Hans-G?nter@24401 30 --disable-build-docs \
Hans-G?nter@24401 31 $CONFIGURE_ARGS &&
Hans-G?nter@20780 32 make &&
Hans-G?nter@20780 33 make install
erjo@13410 34 }
erjo@13410 35
erjo@13410 36 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@13410 37 genpkg_rules()
erjo@13410 38 {
Hans-G?nter@24401 39 cook_copy_files *.so*
erjo@13410 40 }