aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/cccc/cccc_3.pre84.bb
blob: 981de690064dc93aefaae887865309c5d4205b91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# BROKEN because it needs a native antlr, which in turn needs
# a native java virtual machine.  blech. -CL
BROKEN = "1"
DEPENDS += "antlr-native"

DESCRIPTION = "C and C++ Code Counter, a software metrics tool"
LICENSE = "PD"
PRIORITY = "optional"
SECTION = "devel"
HOMEPAGE = "http://cccc.sourceforge.net/"

SRC_URI = "${SOURCEFORGE_MIRROR}/cccc/cccc-${PV}.tar.gz"

EXTRA_OEMAKE = "'CCC=${CC}' 'LD=${CC}' \
		'CFLAGS=-c -I${S}/pccts/h -x c++ ${CFLAGS}' \
		'LDFLAGS=${LDFLAGS}'"

do_compile () {
	oe_runmake -C cccc -f posixgcc.mak
}