Ravenports generated: 02 Jun 2017 18:14
[ravenports.git] / bucket_D5 / check
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               check
4 VERSION=                0.11.0
5 KEYWORDS=               devel
6 VARIANTS=               standard
7 SDESC[standard]=        Unit test framework for C
8 HOMEPAGE=               https://libcheck.github.io/check/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/libcheck:check:0.11.0
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         examples
18
19 OPTIONS_AVAILABLE=      none
20 OPTIONS_STANDARD=       none
21
22 USES=                   autoreconf libtool makeinfo pkgconfig
23
24 INFO=                   primary:check
25 INFO_SUBDIR=            .
26
27 MUST_CONFIGURE=         gnu
28 CONFIGURE_ENV=          ac_cv_path_AWK_PATH={{AWK}}
29
30 INSTALL_TARGET=         install-strip
31
32 post-patch:
33         @${REINPLACE_CMD} \
34                 -e 's|COPYING.LESSER||' \
35                 -e '/^docdir = / s|$$(PACKAGE)|check|' \
36                         ${WRKSRC}/Makefile.am
37         @${REINPLACE_CMD} \
38                 -e '/^exampledir = / s|(docdir)/example|(datadir)/examples/check|' \
39                 -e '/^example[a-z]*dir = / s|(docdir)/example/|(exampledir)/|' \
40                         ${WRKSRC}/doc/Makefile.am
41
42 post-install:
43         ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/check
44
45 [FILE:289:descriptions/desc.primary]
46 Check is a unit test framework for C. It features a simple interface for
47 defining unit tests, putting little in the way of the developer. Tests
48 are run in a separate address space, so Check can catch both assertion
49 failures and code errors that cause segmentation faults or other signals.
50
51
52 [FILE:107:distinfo]
53 df18bb72ba31eed2e06c21dd97402174500a211645e4b3748e9e277551acc97d       275579 libcheck-check-0.11.0.tar.gz
54
55
56 [FILE:184:manifests/plist.primary]
57 bin/checkmk
58 include/
59  check.h
60  check_stdint.h
61 lib/
62  libcheck.a
63  libcheck.so
64  libcheck.so.0
65  libcheck.so.0.0.0
66 lib/pkgconfig/check.pc
67 share/aclocal/check.m4
68 share/man/man1/checkmk.1.gz
69
70
71 [FILE:340:manifests/plist.examples]
72 share/examples/check/
73  Makefile.am
74  README
75  configure.ac
76 share/examples/check/src/
77  Makefile.am
78  main.c
79  money.1.c
80  money.1.h
81  money.2.h
82  money.3.c
83  money.4.c
84  money.5.c
85  money.6.c
86  money.c
87  money.h
88 share/examples/check/tests/
89  Makefile.am
90  check_money.1.c
91  check_money.2.c
92  check_money.3.c
93  check_money.6.c
94  check_money.7.c
95  check_money.c
96
97
98 [FILE:784:patches/patch-check.m4]
99 --- check.m4.orig       2015-08-02 19:31:25 UTC
100 +++ check.m4
101 @@ -21,8 +21,20 @@ AC_DEFUN([AM_PATH_CHECK],
102        CHECK_CFLAGS="-I$with_check/include"
103        CHECK_LIBS="-L$with_check/lib -lcheck"
104      else
105 -      CHECK_CFLAGS=""
106 -      CHECK_LIBS="-lcheck"
107 +      for check_includedir in /usr/local/include /usr/local/include/check /usr/include $prefix/include
108 +      do
109 +        if test -e $check_includedir/check.h ; then
110 +          CHECK_CFLAGS="-I${check_includedir}"
111 +          break
112 +        fi
113 +      done
114 +      for check_libdir in /usr/local/lib /usr/local/lib/check /usr/lib $prefix/lib
115 +      do
116 +        if test -e $check_libdir/libcheck.a ; then
117 +          CHECK_LIBS="-L${check_libdir} -lcheck"
118 +          break
119 +        fi
120 +      done
121      fi
122  
123      ac_save_CFLAGS="$CFLAGS"
124