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