wok-next annotate check/receipt @ rev 19845

Up cookutils, lxpanel, slim, tazlito.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 26 12:10:59 2017 +0300 (2017-08-26)
parents f7d9f142f79d
children 90a5eb560fd6
rev   line source
al@19737 1 # SliTaz package receipt v2.
erjo@13410 2
erjo@13410 3 PACKAGE="check"
al@19737 4 VERSION="0.11.0"
erjo@13410 5 CATEGORY="system-tools"
erjo@13410 6 SHORT_DESC="A unit testing framework for C"
erjo@13410 7 MAINTAINER="erjo@slitaz.org"
pascal@15202 8 LICENSE="LGPL2.1"
al@19581 9 WEB_SITE="https://libcheck.github.io/check/"
pankso@15943 10 HOST_ARCH="i486 arm"
erjo@13410 11
al@19581 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19737 13 WGET_URL="https://github.com/libcheck/check/releases/download/$VERSION/$TARBALL"
al@19737 14
al@19737 15 SPLIT="check-dev"
erjo@13410 16
erjo@13410 17 # Rules to configure and make the package.
erjo@13410 18 compile_rules()
erjo@13410 19 {
al@19737 20 ./configure \
al@19737 21 --disable-static \
al@19737 22 $CONFIGURE_ARGS &&
al@19737 23 make && make install
erjo@13410 24 }
erjo@13410 25
erjo@13410 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@13410 27 genpkg_rules()
erjo@13410 28 {
al@19737 29 case $PACKAGE in
al@19737 30 check) copy *.so* ;;
al@19737 31 check-dev) copy @dev checkmk ;;
al@19737 32 esac
erjo@13410 33 }