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

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Sat Mar 7 22:50:16 CET 2009


Revision: 3619
          http://gar.svn.sourceforge.net/gar/?rev=3619&view=rev
Author:   wbonnet
Date:     2009-03-07 21:50:16 +0000 (Sat, 07 Mar 2009)

Log Message:
-----------
Add Apache Jakarta Configuration to GAR

Added Paths:
-----------
    csw/mgar/pkg/java/ajcconfig/
    csw/mgar/pkg/java/ajcconfig/branches/
    csw/mgar/pkg/java/ajcconfig/tags/
    csw/mgar/pkg/java/ajcconfig/trunk/
    csw/mgar/pkg/java/ajcconfig/trunk/Makefile
    csw/mgar/pkg/java/ajcconfig/trunk/checksums
    csw/mgar/pkg/java/ajcconfig/trunk/files/
    csw/mgar/pkg/java/ajcconfig/trunk/files/CSWajcconfig.gspec
    csw/mgar/pkg/java/ajcconfig/trunk/files/CSWajcconfigdoc.gspec


Property changes on: csw/mgar/pkg/java/ajcconfig/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/ajcconfig/trunk/Makefile
===================================================================
--- csw/mgar/pkg/java/ajcconfig/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/java/ajcconfig/trunk/Makefile	2009-03-07 21:50:16 UTC (rev 3619)
@@ -0,0 +1,54 @@
+SHORTNAME = configuration
+GARVERSION = 1.6
+
+GARNAME = commons-$(SHORTNAME)
+CATEGORIES = java
+
+DESCRIPTION = Apache Jakarta Commons Configuration
+define BLURB
+Apache Jakarta Commons Configuration : Tools to assist in the reading of configuration files
+endef
+
+# Use jakarta sources
+MASTER_SITES = http://apache.cict.fr/commons/$(SHORTNAME)/binaries/
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+# Set archive filename
+DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+
+# Defines two packages, lib and doc
+DISTFILES += $(call admfiles,CSWajcconfig,)
+DISTFILES += $(call admfiles,CSWajcconfigdoc,)
+
+# Defines package description
+SPKG_DESC_CSWajcconfig    = $(DESCRIPTION)
+SPKG_DESC_CSWajcconfigdoc = $(DESCRIPTION) documentation package
+
+# Defines dependencies
+REQUIRED_PKGS_CSWajcconfig  = CSWajclang CSWajclogging CSWajclang CSWajcdigester CSWajccollect CSWajcbeanutils 	
+
+# Defines package content
+PKGFILES_CSWajcconfig 	 = $(prefix)/share/doc/$(GARNAME)/License.txt
+PKGFILES_CSWajcconfig  	+= $(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
+
+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.jar ; \
+	   ln -s $(GARNAME)-$(GARVERSION).jar $(GARNAME).jar )
+	@ginstall -d $(DESTDIR)$(datadir)/doc/$(GARNAME)
+	@gcp -fp $(WORKSRC)/$(DISTNAME)/LICENSE.txt $(DESTDIR)$(datadir)/doc/$(GARNAME)/License.txt
+	@gcp -fp $(WORKSRC)/$(DISTNAME)/LICENSE.txt $(DESTDIR)$(datadir)/doc/$(GARNAME)/License-documentation.txt
+	@gcp -frp $(WORKSRC)/$(DISTNAME)/docs/* $(DESTDIR)$(datadir)/doc/$(GARNAME)
+	@$(MAKECOOKIE)

Added: csw/mgar/pkg/java/ajcconfig/trunk/checksums
===================================================================
--- csw/mgar/pkg/java/ajcconfig/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/java/ajcconfig/trunk/checksums	2009-03-07 21:50:16 UTC (rev 3619)
@@ -0,0 +1,3 @@
+66c6398a0ad99d181e9ea388f9c25c93  download/commons-configuration-1.6.tar.gz
+b737cf3fc3d7036107fbaa6ced028382  download/CSWajcconfig.gspec
+72c82e8a1546c7163cc5f0da4724e4fd  download/CSWajcconfigdoc.gspec

Added: csw/mgar/pkg/java/ajcconfig/trunk/files/CSWajcconfig.gspec
===================================================================
--- csw/mgar/pkg/java/ajcconfig/trunk/files/CSWajcconfig.gspec	                        (rev 0)
+++ csw/mgar/pkg/java/ajcconfig/trunk/files/CSWajcconfig.gspec	2009-03-07 21:50:16 UTC (rev 3619)
@@ -0,0 +1,7 @@
+%var            bitname commons_config
+%var            pkgname CSWajcconfig
+%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/ajcconfig/trunk/files/CSWajcconfigdoc.gspec
===================================================================
--- csw/mgar/pkg/java/ajcconfig/trunk/files/CSWajcconfigdoc.gspec	                        (rev 0)
+++ csw/mgar/pkg/java/ajcconfig/trunk/files/CSWajcconfigdoc.gspec	2009-03-07 21:50:16 UTC (rev 3619)
@@ -0,0 +1,7 @@
+%var            bitname commons_config_doc
+%var            pkgname CSWajcconfigdoc
+%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