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

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Sun Mar 8 21:22:51 CET 2009


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

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

Added Paths:
-----------
    csw/mgar/pkg/ajcvalidator/
    csw/mgar/pkg/ajcvalidator/Makefile
    csw/mgar/pkg/ajcvalidator/branches/
    csw/mgar/pkg/ajcvalidator/tags/
    csw/mgar/pkg/ajcvalidator/trunk/
    csw/mgar/pkg/ajcvalidator/trunk/Makefile
    csw/mgar/pkg/ajcvalidator/trunk/checksums
    csw/mgar/pkg/ajcvalidator/trunk/files/
    csw/mgar/pkg/ajcvalidator/trunk/files/CSWajcvalidator.gspec
    csw/mgar/pkg/ajcvalidator/trunk/files/CSWajcvalidatordoc.gspec

Added: csw/mgar/pkg/ajcvalidator/Makefile
===================================================================
--- csw/mgar/pkg/ajcvalidator/Makefile	                        (rev 0)
+++ csw/mgar/pkg/ajcvalidator/Makefile	2009-03-08 20:22:51 UTC (rev 3659)
@@ -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/ajcvalidator/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/ajcvalidator/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ajcvalidator/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/ajcvalidator/trunk/Makefile	2009-03-08 20:22:51 UTC (rev 3659)
@@ -0,0 +1,55 @@
+SHORTNAME = validator
+GARVERSION = 1.3.1
+
+GARNAME = commons-$(SHORTNAME)
+CATEGORIES = java
+
+DESCRIPTION = Apache Jakarta Commons validator
+define BLURB
+Apache Jakarta Commons validator : XML-to-Java-object mapping utility
+endef
+
+# Use jakarta sources
+MASTER_SITES = http://apache.cict.fr/commons/$(SHORTNAME)/binaries/
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*)(-bin*).tar.gz
+
+# Set archive filename
+DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+
+# Defines two packages, lib and doc
+DISTFILES += $(call admfiles,CSWajcvalidator,)
+DISTFILES += $(call admfiles,CSWajcvalidatordoc,)
+
+# Defines package description
+SPKG_DESC_CSWajcvalidator    = $(DESCRIPTION)
+SPKG_DESC_CSWajcvalidatordoc = $(DESCRIPTION) documentation package
+
+# Defines dependencies
+# REQUIRED_PKGS_CSWajcvalidator = No dependency
+
+# Defines package content
+PKGFILES_CSWajcvalidator  = $(prefix)/share/doc/$(GARNAME)/License.txt
+PKGFILES_CSWajcvalidator += $(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.3.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.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/ajcvalidator/trunk/checksums
===================================================================
--- csw/mgar/pkg/ajcvalidator/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/ajcvalidator/trunk/checksums	2009-03-08 20:22:51 UTC (rev 3659)
@@ -0,0 +1,3 @@
+e1f8c698fec1dc6a47e77a6a97e43fac  download/commons-validator-1.3.1.tar.gz
+3c2d91479db0b76f2051d51fe1f8219e  download/CSWajcvalidator.gspec
+268c8009ea77e6f8b47617841a69e753  download/CSWajcvalidatordoc.gspec

Added: csw/mgar/pkg/ajcvalidator/trunk/files/CSWajcvalidator.gspec
===================================================================
--- csw/mgar/pkg/ajcvalidator/trunk/files/CSWajcvalidator.gspec	                        (rev 0)
+++ csw/mgar/pkg/ajcvalidator/trunk/files/CSWajcvalidator.gspec	2009-03-08 20:22:51 UTC (rev 3659)
@@ -0,0 +1,7 @@
+%var            bitname commons_validator
+%var            pkgname CSWajcvalidator
+%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/ajcvalidator/trunk/files/CSWajcvalidatordoc.gspec
===================================================================
--- csw/mgar/pkg/ajcvalidator/trunk/files/CSWajcvalidatordoc.gspec	                        (rev 0)
+++ csw/mgar/pkg/ajcvalidator/trunk/files/CSWajcvalidatordoc.gspec	2009-03-08 20:22:51 UTC (rev 3659)
@@ -0,0 +1,7 @@
+%var            bitname commons_validat_doc
+%var            pkgname CSWajcvalidatordoc
+%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