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

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Sat Jan 31 23:02:48 CET 2009


Revision: 2956
          http://gar.svn.sourceforge.net/gar/?rev=2956&view=rev
Author:   wbonnet
Date:     2009-01-31 22:02:48 +0000 (Sat, 31 Jan 2009)

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

Added Paths:
-----------
    csw/mgar/pkg/chain/
    csw/mgar/pkg/chain/Makefile
    csw/mgar/pkg/chain/branches/
    csw/mgar/pkg/chain/tags/
    csw/mgar/pkg/chain/trunk/
    csw/mgar/pkg/chain/trunk/Makefile
    csw/mgar/pkg/chain/trunk/checksums
    csw/mgar/pkg/chain/trunk/files/
    csw/mgar/pkg/chain/trunk/files/CSWajcchain.gspec
    csw/mgar/pkg/chain/trunk/files/CSWajcchaindoc.gspec

Added: csw/mgar/pkg/chain/Makefile
===================================================================
--- csw/mgar/pkg/chain/Makefile	                        (rev 0)
+++ csw/mgar/pkg/chain/Makefile	2009-01-31 22:02:48 UTC (rev 2956)
@@ -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/chain/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/chain/trunk/Makefile
===================================================================
--- csw/mgar/pkg/chain/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/chain/trunk/Makefile	2009-01-31 22:02:48 UTC (rev 2956)
@@ -0,0 +1,56 @@
+SHORTNAME = chain
+GARVERSION = 1.2
+
+GARNAME = commons-$(SHORTNAME)
+CATEGORIES = java
+
+DESCRIPTION = Apache Jakarta Commons Chain : Chain of Responsibility pattern API
+define BLURB
+Apache Jakarta Commons chain provides "Chain of Responsibility" pattern implemention
+endef
+
+# Use jakarta sources
+MASTER_SITES = http://apache.cict.fr/commons/$(SHORTNAME)/binaries/
+
+# Set archive filename
+DISTFILES = $(GARNAME)-$(GARVERSION)-bin.tar.gz
+
+# Defines two packages, lib and doc
+DISTFILES += $(call admfiles,CSWajcchain,)
+DISTFILES += $(call admfiles,CSWajcchaindoc,)
+
+# Defines package description
+SPKG_DESC_CSWajcchain    = $(DESCRIPTION)
+SPKG_DESC_CSWajcchaindoc = $(DESCRIPTION) documentation package
+
+# Defines dependencies
+REQUIRED_PKGS_CSWajcchain  = CSWajcdigester
+REQUIRED_PKGS_CSWajcchain += CSWajclogging
+
+# Defines package content
+PKGFILES_CSWajcchaindoc   = $(prefix)/share/doc/.*
+PKGFILES_CSWajcchaindoc  += $(prefix)/share/licenses/$(GARNAME)-doc/Apache_License_2.0.txt
+
+# 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
+
+install-custom:
+	@ginstall -d $(DESTDIR)$(datadir)/java
+	@gcp -fp $(WORKSRC)/$(DISTNAME)/commons-chain-1.2.jar $(DESTDIR)$(datadir)/java
+	@( cd $(DESTDIR)$(datadir)/java ; \
+	   ln -s $(GARNAME)-$(GARVERSION).jar $(GARNAME)-1.jar ; \
+	   ln -s $(GARNAME)-$(GARVERSION).jar $(GARNAME).jar )
+	@ginstall -d $(DESTDIR)$(datadir)/doc/$(GARNAME)
+	@ginstall -d $(DESTDIR)$(datadir)/licenses/$(GARNAME)
+	@ginstall -d $(DESTDIR)$(datadir)/licenses/$(GARNAME)-doc
+	@gcp -fp $(WORKSRC)/$(DISTNAME)/LICENSE.txt $(DESTDIR)$(datadir)/licenses/$(GARNAME)/Apache_License_2.0.txt
+	@gcp -fp $(WORKSRC)/$(DISTNAME)/LICENSE.txt $(DESTDIR)$(datadir)/licenses/$(GARNAME)-doc/Apache_License_2.0.txt
+	@gcp -frp $(WORKSRC)/$(DISTNAME)/apidocs/* $(DESTDIR)$(datadir)/doc/$(GARNAME)/
+	@$(MAKECOOKIE)

Added: csw/mgar/pkg/chain/trunk/checksums
===================================================================
--- csw/mgar/pkg/chain/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/chain/trunk/checksums	2009-01-31 22:02:48 UTC (rev 2956)
@@ -0,0 +1,3 @@
+42d6a4fd3316f88a01eeb0e0c0f89e0f  download/commons-chain-1.2-bin.tar.gz
+3b4186496bec47046d0b0a6144cee14b  download/CSWajcchain.gspec
+d9966d181ed11f63926ea5072e3c1d0c  download/CSWajcchaindoc.gspec

Added: csw/mgar/pkg/chain/trunk/files/CSWajcchain.gspec
===================================================================
--- csw/mgar/pkg/chain/trunk/files/CSWajcchain.gspec	                        (rev 0)
+++ csw/mgar/pkg/chain/trunk/files/CSWajcchain.gspec	2009-01-31 22:02:48 UTC (rev 2956)
@@ -0,0 +1,5 @@
+%var            bitname commons_chain
+%var            pkgname CSWajcchain
+%var		arch	all
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright      url file://%{WORKSRC_FIRSTMOD}/LICENSE.txt

Added: csw/mgar/pkg/chain/trunk/files/CSWajcchaindoc.gspec
===================================================================
--- csw/mgar/pkg/chain/trunk/files/CSWajcchaindoc.gspec	                        (rev 0)
+++ csw/mgar/pkg/chain/trunk/files/CSWajcchaindoc.gspec	2009-01-31 22:02:48 UTC (rev 2956)
@@ -0,0 +1,5 @@
+%var            bitname commons_chain_doc
+%var            pkgname CSWajcchaindoc
+%var		arch	all
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright      url file://%{WORKSRC_FIRSTMOD}/LICENSE.txt


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