[csw-devel] SF.net SVN: gar:[20138] csw/mgar/pkg/java

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Jan 15 14:32:02 CET 2013


Revision: 20138
          http://gar.svn.sourceforge.net/gar/?rev=20138&view=rev
Author:   dmichelsen
Date:     2013-01-15 13:32:01 +0000 (Tue, 15 Jan 2013)
Log Message:
-----------
java/ecj: Initial commit

Modified Paths:
--------------
    csw/mgar/pkg/java/ecj/trunk/Makefile
    csw/mgar/pkg/java/ecj/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/java/ecj/
    csw/mgar/pkg/java/ecj/trunk/files/ecj1

Removed Paths:
-------------
    csw/mgar/pkg/java/ecj/trunk/files/CSWlog4j.gspec
    csw/mgar/pkg/java/ecj/trunk/files/CSWlog4jdoc.gspec

Modified: csw/mgar/pkg/java/ecj/trunk/Makefile
===================================================================
--- csw/mgar/pkg/java/log4j/trunk/Makefile	2013-01-04 22:13:40 UTC (rev 20029)
+++ csw/mgar/pkg/java/ecj/trunk/Makefile	2013-01-15 13:32:01 UTC (rev 20138)
@@ -1,37 +1,21 @@
-NAME = log4j
-VERSION = 1.2.15
+NAME = ecj
+VERSION = 4.3M4
 CATEGORIES = java
 GARTYPE = v2
 
-DESCRIPTION = Apache log4j Logging Services
-define BLURB
-A fast and flexible framework for logging application debugging messages
-endef
+DESCRIPTION = JDT Core Batch Compiler
 
-# Use jakarta sources
-MASTER_SITES = http://apache.cict.fr/logging/$(NAME)/$(VERSION)/
-UPSTREAM_MASTER_SITES = http://www.apache.org/dyn/closer.cgi/logging
-UFILES_REGEX = (\d+(?:\.\d+)*)
+# There seems to be some issue with the download code which breaks on & in the URL, download manually for now and put into /home/src
+MASTER_SITES += http://www.eclipse.org/downloads/download.php?r=1&file=/eclipse/downloads/drops4/S-4.3M4-201212140730/
+DISTFILES += $(DISTNAME).jar
+DISTFILES += ecj1
 
-# Set archive filename
-DISTFILES = apache-$(NAME)-$(VERSION).tar.gz
+LICENSE_TEXT = This package is distributed under the Eclipse license
 
-# Defines two packages, lib and doc
-DISTFILES += $(call admfiles,CSWlog4j,)
-DISTFILES += $(call admfiles,CSWlog4jdoc,)
+PACKAGES += CSWjdt-core-batch-compiler
+SPKG_DESC_CSWjdt-core-batch-compiler = Eclipse JDT Core Batch Compiler, contains ecj.jar
+ARCHALL_CSWjdt-core-batch-compiler = 1
 
-# Defines package description
-SPKG_DESC_CSWlog4j    = $(DESCRIPTION)
-SPKG_DESC_CSWlog4jdoc = $(DESCRIPTION) documentation package
-
-# Defines dependencies
-# RUNTIME_DEP_PKGS_CSWlog4j = No dependency
-
-# Defines package content
-PKGFILES_CSWlog4j  = $(prefix)/share/doc/$(NAME)/License.txt
-PKGFILES_CSWlog4j += $(prefix)/share/java/.*
-
-# Defines custom steps since java libs do not use autotools
 WORKSRC = $(WORKDIR)
 
 CONFIGURE_SCRIPTS =
@@ -41,21 +25,10 @@
 
 include gar/category.mk
 
-post-extract:
-	@mv $(WORKROOTDIR)/build-$(firstword $(MODULATIONS))/apache-$(NAME)-$(VERSION) $(WORKROOTDIR)/build-$(firstword $(MODULATIONS))/$(NAME)-$(VERSION)
-	@$(MAKECOOKIE)
-
 install-custom:
-	@ginstall -d $(DESTDIR)$(datadir)/java
-	@gcp -fp $(WORKSRC)/$(DISTNAME)/$(NAME)-$(VERSION).jar $(DESTDIR)$(datadir)/java
-	@( cd $(DESTDIR)$(datadir)/java ; \
-	   ln -s $(NAME)-$(VERSION).jar $(NAME)-1.2.jar ; \
-	   ln -s $(NAME)-$(VERSION).jar $(NAME)-1.jar ; \
+	ginstall -d $(DESTDIR)$(datadir)/java
+	gcp -fp $(WORKDIR)/$(NAME)-$(VERSION).jar $(DESTDIR)$(datadir)/java
+	( cd $(DESTDIR)$(datadir)/java ; \
 	   ln -s $(NAME)-$(VERSION).jar $(NAME).jar )
-	@ginstall -d $(DESTDIR)$(datadir)/doc/$(NAME)
-	@gcp -fp $(WORKSRC)/$(DISTNAME)/LICENSE $(DESTDIR)$(datadir)/doc/$(NAME)/License.txt
-	@gcp -fp $(WORKSRC)/$(DISTNAME)/LICENSE $(DESTDIR)$(datadir)/doc/$(NAME)/License-documentation.txt
-	@gcp -frp $(WORKSRC)/$(DISTNAME)/contribs $(DESTDIR)$(datadir)/doc/$(NAME)
-	@gcp -frp $(WORKSRC)/$(DISTNAME)/examples $(DESTDIR)$(datadir)/doc/$(NAME)
-	@gcp -frp $(WORKSRC)/$(DISTNAME)/site/* $(DESTDIR)$(datadir)/doc/$(NAME)
+	ginstall -D -m 0755 $(WORKDIR)/ecj1 $(DESTDIR)$(bindir)/ecj1
 	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/java/ecj/trunk/checksums
===================================================================
--- csw/mgar/pkg/java/log4j/trunk/checksums	2013-01-04 22:13:40 UTC (rev 20029)
+++ csw/mgar/pkg/java/ecj/trunk/checksums	2013-01-15 13:32:01 UTC (rev 20138)
@@ -1,3 +1 @@
-10f04abe4d68d5a89e8eb167e4e45e1a  download/apache-log4j-1.2.15.tar.gz
-5961f6f54d504a87ea5233b2c8d68a39  download/CSWlog4j.gspec
-992f7b8e2c26ff397614d8b4bc62ef4d  download/CSWlog4jdoc.gspec
+a8bcbea304cb13bd78780e690955e9a1  ecj-4.3M4.jar

Deleted: csw/mgar/pkg/java/ecj/trunk/files/CSWlog4j.gspec
===================================================================
--- csw/mgar/pkg/java/log4j/trunk/files/CSWlog4j.gspec	2013-01-04 22:13:40 UTC (rev 20029)
+++ csw/mgar/pkg/java/ecj/trunk/files/CSWlog4j.gspec	2013-01-15 13:32:01 UTC (rev 20138)
@@ -1,7 +0,0 @@
-%var            bitname log4j
-%var            pkgname CSWlog4j
-%var		arch	all
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright      
-
-Please see /opt/csw/share/doc/%{NAME}/License.txt for license information

Deleted: csw/mgar/pkg/java/ecj/trunk/files/CSWlog4jdoc.gspec
===================================================================
--- csw/mgar/pkg/java/log4j/trunk/files/CSWlog4jdoc.gspec	2013-01-04 22:13:40 UTC (rev 20029)
+++ csw/mgar/pkg/java/ecj/trunk/files/CSWlog4jdoc.gspec	2013-01-15 13:32:01 UTC (rev 20138)
@@ -1,7 +0,0 @@
-%var            bitname log4j_doc
-%var            pkgname CSWlog4jdoc
-%var		arch	all
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright      
-
-Please see /opt/csw/share/doc/%{NAME}/License-documentation.txt for license information

Added: csw/mgar/pkg/java/ecj/trunk/files/ecj1
===================================================================
--- csw/mgar/pkg/java/ecj/trunk/files/ecj1	                        (rev 0)
+++ csw/mgar/pkg/java/ecj/trunk/files/ecj1	2013-01-15 13:32:01 UTC (rev 20138)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+/opt/csw/bin/gij -cp /opt/csw/share/java/ecj.jar \
+    org.eclipse.jdt.internal.compiler.batch.GCCMain \
+    ${1+"$@"}
+


Property changes on: csw/mgar/pkg/java/ecj/trunk/files/ecj1
___________________________________________________________________
Added: svn:executable
   + *

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