summaryrefslogtreecommitdiff
path: root/packages/cccc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cccc')
-rw-r--r--packages/cccc/.mtn2git_empty0
-rw-r--r--packages/cccc/cccc_3.pre84.bb21
2 files changed, 21 insertions, 0 deletions
diff --git a/packages/cccc/.mtn2git_empty b/packages/cccc/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/cccc/.mtn2git_empty
diff --git a/packages/cccc/cccc_3.pre84.bb b/packages/cccc/cccc_3.pre84.bb
index e69de29bb2..4bf1bf4231 100644
--- a/packages/cccc/cccc_3.pre84.bb
+++ b/packages/cccc/cccc_3.pre84.bb
@@ -0,0 +1,21 @@
+# 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"
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+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
+}