wok-next annotate check/receipt @ rev 20569
Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 07:14:16 2018 +0300 (2018-04-13) |
parents | 90a5eb560fd6 |
children | 8db06e7505f5 |
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/" |
al@20436 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter05/check.html" |
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 |
al@20436 | 17 compile_rules() { |
al@19737 | 18 ./configure \ |
al@19737 | 19 --disable-static \ |
al@19737 | 20 $CONFIGURE_ARGS && |
al@20569 | 21 fix libtool && |
al@20569 | 22 make && |
al@20569 | 23 make install |
erjo@13410 | 24 } |
erjo@13410 | 25 |
al@20436 | 26 genpkg_rules() { |
al@19737 | 27 case $PACKAGE in |
al@19737 | 28 check) copy *.so* ;; |
al@20436 | 29 *-dev) copy @dev checkmk ;; |
al@19737 | 30 esac |
erjo@13410 | 31 } |