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

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Sun Mar 8 23:00:45 CET 2009


Revision: 3665
          http://gar.svn.sourceforge.net/gar/?rev=3665&view=rev
Author:   wbonnet
Date:     2009-03-08 22:00:45 +0000 (Sun, 08 Mar 2009)

Log Message:
-----------
Initial commit

Added Paths:
-----------
    csw/mgar/pkg/java/log4j/
    csw/mgar/pkg/java/log4j/Makefile
    csw/mgar/pkg/java/log4j/branches/
    csw/mgar/pkg/java/log4j/tags/
    csw/mgar/pkg/java/log4j/trunk/
    csw/mgar/pkg/java/log4j/trunk/Makefile
    csw/mgar/pkg/java/log4j/trunk/checksums
    csw/mgar/pkg/java/log4j/trunk/files/
    csw/mgar/pkg/java/log4j/trunk/files/CSWajclog4j.gspec
    csw/mgar/pkg/java/log4j/trunk/files/CSWajclog4jdoc.gspec

Added: csw/mgar/pkg/java/log4j/Makefile
===================================================================
--- csw/mgar/pkg/java/log4j/Makefile	                        (rev 0)
+++ csw/mgar/pkg/java/log4j/Makefile	2009-03-08 22:00:45 UTC (rev 3665)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+	@echo "You are in the pkg/ directory."
+
+%:
+	$(MAKE) -C trunk $* 
+
+paranoid-%:
+	$(MAKE) -C trunk $* || exit 2 
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+	$(MAKE) -C trunk $* || echo "	*** make $* in $$i failed ***" >> $(BUILDLOG) 


Property changes on: csw/mgar/pkg/java/log4j/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/java/log4j/trunk/Makefile
===================================================================
--- csw/mgar/pkg/java/log4j/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/java/log4j/trunk/Makefile	2009-03-08 22:00:45 UTC (rev 3665)
@@ -0,0 +1,60 @@
+GARNAME = log4j
+GARVERSION = 1.2.15
+CATEGORIES = java
+
+DESCRIPTION = Apache log4jLogging Services
+define BLURB
+A fast and flexible framework for logging application debugging messages
+endef
+
+# Use jakarta sources
+MASTER_SITES = http://apache.cict.fr/logging/$(GARNAME)/$(GARVERSION)/
+UPSTREAM_MASTER_SITES = http://www.apache.org/dyn/closer.cgi/logging
+UFILES_REGEX = (\d+(?:\.\d+)*)
+
+# Set archive filename
+DISTFILES = apache-$(GARNAME)-$(GARVERSION).tar.gz
+
+# Defines two packages, lib and doc
+DISTFILES += $(call admfiles,CSWajclog4j,)
+DISTFILES += $(call admfiles,CSWajclog4jdoc,)
+
+# Defines package description
+SPKG_DESC_CSWajclog4j    = $(DESCRIPTION)
+SPKG_DESC_CSWajclog4jdoc = $(DESCRIPTION) documentation package
+
+# Defines dependencies
+# REQUIRED_PKGS_CSWajclog4j = No dependency
+
+# Defines package content
+PKGFILES_CSWajclog4j  = $(prefix)/share/doc/$(GARNAME)/License.txt
+PKGFILES_CSWajclog4j += $(prefix)/share/java/.*
+
+# Defines custom steps since java libs do not use autotools
+WORKSRC = $(WORKDIR)
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS = 
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+include gar/category.mk
+
+post-extract:
+	@mv $(WORKROOTDIR)/build-$(firstword $(MODULATIONS))/apache-$(GARNAME)-$(GARVERSION) $(WORKROOTDIR)/build-$(firstword $(MODULATIONS))/$(GARNAME)-$(GARVERSION)
+	@$(MAKECOOKIE)
+
+install-custom:
+	@ginstall -d $(DESTDIR)$(datadir)/java
+	@gcp -fp $(WORKSRC)/$(DISTNAME)/$(GARNAME)-$(GARVERSION).jar $(DESTDIR)$(datadir)/java
+	@( cd $(DESTDIR)$(datadir)/java ; \
+	   ln -s $(GARNAME)-$(GARVERSION).jar $(GARNAME)-1.2.jar ; \
+	   ln -s $(GARNAME)-$(GARVERSION).jar $(GARNAME)-1.jar ; \
+	   ln -s $(GARNAME)-$(GARVERSION).jar $(GARNAME).jar )
+	@ginstall -d $(DESTDIR)$(datadir)/doc/$(GARNAME)
+	@gcp -fp $(WORKSRC)/$(DISTNAME)/LICENSE $(DESTDIR)$(datadir)/doc/$(GARNAME)/License.txt
+	@gcp -fp $(WORKSRC)/$(DISTNAME)/LICENSE $(DESTDIR)$(datadir)/doc/$(GARNAME)/License-documentation.txt
+	@gcp -frp $(WORKSRC)/$(DISTNAME)/contribs $(DESTDIR)$(datadir)/doc/$(GARNAME)
+	@gcp -frp $(WORKSRC)/$(DISTNAME)/examples $(DESTDIR)$(datadir)/doc/$(GARNAME)
+	@gcp -frp $(WORKSRC)/$(DISTNAME)/site/* $(DESTDIR)$(datadir)/doc/$(GARNAME)
+	@$(MAKECOOKIE)

Added: csw/mgar/pkg/java/log4j/trunk/checksums
===================================================================
--- csw/mgar/pkg/java/log4j/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/java/log4j/trunk/checksums	2009-03-08 22:00:45 UTC (rev 3665)
@@ -0,0 +1,3 @@
+10f04abe4d68d5a89e8eb167e4e45e1a  download/apache-log4j-1.2.15.tar.gz
+5961f6f54d504a87ea5233b2c8d68a39  download/CSWajclog4j.gspec
+992f7b8e2c26ff397614d8b4bc62ef4d  download/CSWajclog4jdoc.gspec

Added: csw/mgar/pkg/java/log4j/trunk/files/CSWajclog4j.gspec
===================================================================
--- csw/mgar/pkg/java/log4j/trunk/files/CSWajclog4j.gspec	                        (rev 0)
+++ csw/mgar/pkg/java/log4j/trunk/files/CSWajclog4j.gspec	2009-03-08 22:00:45 UTC (rev 3665)
@@ -0,0 +1,7 @@
+%var            bitname log4j
+%var            pkgname CSWlog4j
+%var		arch	all
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright      
+
+Please see /opt/csw/share/doc/%{GARNAME}/License.txt for license information

Added: csw/mgar/pkg/java/log4j/trunk/files/CSWajclog4jdoc.gspec
===================================================================
--- csw/mgar/pkg/java/log4j/trunk/files/CSWajclog4jdoc.gspec	                        (rev 0)
+++ csw/mgar/pkg/java/log4j/trunk/files/CSWajclog4jdoc.gspec	2009-03-08 22:00:45 UTC (rev 3665)
@@ -0,0 +1,7 @@
+%var            bitname log4j_doc
+%var            pkgname CSWlog4jdoc
+%var		arch	all
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright      
+
+Please see /opt/csw/share/doc/%{GARNAME}/License-documentation.txt for license information


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