SF.net SVN: gar:[22452] csw/mgar/pkg
pfelecan at users.sourceforge.net
pfelecan at users.sourceforge.net
Fri Nov 8 16:36:17 CET 2013
Revision: 22452
http://gar.svn.sourceforge.net/gar/?rev=22452&view=rev
Author: pfelecan
Date: 2013-11-08 15:36:17 +0000 (Fri, 08 Nov 2013)
Log Message:
-----------
complexity/trunk: instantiate
Added Paths:
-----------
csw/mgar/pkg/complexity/
csw/mgar/pkg/complexity/Makefile
csw/mgar/pkg/complexity/branches/
csw/mgar/pkg/complexity/tags/
csw/mgar/pkg/complexity/trunk/
csw/mgar/pkg/complexity/trunk/Makefile
csw/mgar/pkg/complexity/trunk/checksums
csw/mgar/pkg/complexity/trunk/files/
csw/mgar/pkg/complexity/trunk/files/0001-test-driver-uses-bash.patch
Added: csw/mgar/pkg/complexity/Makefile
===================================================================
--- csw/mgar/pkg/complexity/Makefile (rev 0)
+++ csw/mgar/pkg/complexity/Makefile 2013-11-08 15:36:17 UTC (rev 22452)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Property changes on: csw/mgar/pkg/complexity/trunk
___________________________________________________________________
Added: svn:ignore
+ work
Added: csw/mgar/pkg/complexity/trunk/Makefile
===================================================================
--- csw/mgar/pkg/complexity/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/complexity/trunk/Makefile 2013-11-08 15:36:17 UTC (rev 22452)
@@ -0,0 +1,28 @@
+# $Id$
+
+NAME = complexity
+VERSION = 1.1
+GARTYPE = v2
+
+DESCRIPTION = Measure complexity of C source
+define BLURB
+ A tool designed for analyzing the complexity of "C" program
+ functions. It is very similar to the McCabe scoring, but addresses
+ several issues not considered in that scoring scheme.
+endef
+
+MASTER_SITES = $(GNU_MIRROR)
+DISTFILES = $(DISTNAME).tar.gz
+PATCHFILES += 0001-test-driver-uses-bash.patch
+
+GARCOMPILER = GNU
+CONFIGURE_ARGS = $(DIRPATHS)
+
+BUILD_DEP_PKGS = CSWautogen-dev
+
+RUNTIME_DEP_PKGS_CSWcomplexity += CSWlibopts25
+
+include gar/category.mk
+
+PATH := /opt/csw/gnu:$(PATH)
+
Property changes on: csw/mgar/pkg/complexity/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/complexity/trunk/checksums
===================================================================
--- csw/mgar/pkg/complexity/trunk/checksums (rev 0)
+++ csw/mgar/pkg/complexity/trunk/checksums 2013-11-08 15:36:17 UTC (rev 22452)
@@ -0,0 +1 @@
+90cc93354d1565d4f0ca3a4a98043848 complexity-1.1.tar.gz
Added: csw/mgar/pkg/complexity/trunk/files/0001-test-driver-uses-bash.patch
===================================================================
--- csw/mgar/pkg/complexity/trunk/files/0001-test-driver-uses-bash.patch (rev 0)
+++ csw/mgar/pkg/complexity/trunk/files/0001-test-driver-uses-bash.patch 2013-11-08 15:36:17 UTC (rev 22452)
@@ -0,0 +1,22 @@
+From 5881460315d818e34f3f50ed475c49228a72816b Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Fri, 8 Nov 2013 16:07:43 +0100
+Subject: [PATCH] test driver uses bash
+
+---
+ tests/complexity.test | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/complexity.test b/tests/complexity.test
+index bb9463e..486d69c 100755
+--- a/tests/complexity.test
++++ b/tests/complexity.test
+@@ -1,4 +1,4 @@
+-#! /bin/sh
++#! /usr/bin/env bash
+
+ srcdir=`cd ${top_srcdir} ; pwd`/src
+ tstdir=`pwd`
+--
+1.8.4.1
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list