wok-next view check/receipt @ rev 21094

Apply "force-arch" for selected dev packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 31 17:23:40 2018 +0200 (2018-12-31)
parents d5aab818505e
children f29965805403
line source
1 # SliTaz package receipt v2.
3 PACKAGE="check"
4 VERSION="0.12.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="A unit testing framework for C"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://libcheck.github.io/check/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter05/check.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/libcheck/check/releases/download/$VERSION/$TARBALL"
15 SPLIT="$PACKAGE-dev"
17 COOKOPTS="force-arch" # different .h
19 compile_rules() {
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 check)
31 copy *.so*
32 ;;
33 *-dev)
34 copy @dev checkmk
35 rm -r $fs/usr/share/doc
36 ;;
37 esac
38 }