python/hypothesis: update to 6.122.3
[oi-userland.git] / components / developer / cunit / Makefile
blob717d548fe10594e845ec54db18e7952bb2bf8c2b
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.illumos.org/license/CDDL.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2013, Aurelien Larcher. All rights reserved.
24 BUILD_BITS= 32_and_64
25 include ../../../make-rules/shared-macros.mk
27 COMPONENT_NAME= cunit
28 HUMAN_VERSION= 2.1-3
29 COMPONENT_VERSION= 2.1.3
30 COMPONENT_FMRI= developer/cunit
31 COMPONENT_CLASSIFICATION=Development/C
32 COMPONENT_SUMMARY= Automated testing framework for C
33 COMPONENT_SRC_NAME= CUnit
34 COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(HUMAN_VERSION)
35 COMPONENT_PROJECT_URL= http://cunit.sourceforge.net/
36 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
37 COMPONENT_ARCHIVE_HASH= \
38 sha256:f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214
39 COMPONENT_ARCHIVE_URL= \
40 http://sourceforge.net/projects/cunit/files/CUnit/$(HUMAN_VERSION)/$(COMPONENT_ARCHIVE)
41 COMPONENT_LICENSE= LGPLv2
43 include $(WS_MAKE_RULES)/common.mk
45 PATH = $(PATH.gnu)
47 COMPONENT_PREP_ACTION = ( cd $(@D) && \
48 aclocal -I m4 --install && \
49 PATH="$(PATH)" libtoolize -i && \
50 autoheader && \
51 automake --add-missing --include-deps --copy && \
52 autoconf && \
53 chmod u+x configure && \
54 $(RM) config.status)
56 CONFIGURE_OPTIONS+= --datadir=$(USRSHAREDIR)
57 CONFIGURE_OPTIONS+= --enable-shared
58 CONFIGURE_OPTIONS+= --disable-static
59 CONFIGURE_OPTIONS+= --enable-memtrace
60 CONFIGURE_OPTIONS+= --enable-automated
61 CONFIGURE_OPTIONS+= --enable-basic
62 CONFIGURE_OPTIONS+= --enable-console
63 CONFIGURE_OPTIONS+= --enable-examples
64 CONFIGURE_OPTIONS+= --enable-test
66 COMPONENT_TEST_DIR = $(@D)/CUnit/Sources/Test
67 COMPONENT_TEST_CMD = ./test_cunit
69 # Auto-generated dependencies
70 REQUIRED_PACKAGES += system/library