[csw-devel] SF.net SVN: gar:[3633] csw/mgar/pkg/java
wbonnet at users.sourceforge.net
wbonnet at users.sourceforge.net
Sun Mar 8 16:37:38 CET 2009
Revision: 3633
http://gar.svn.sourceforge.net/gar/?rev=3633&view=rev
Author: wbonnet
Date: 2009-03-08 15:37:38 +0000 (Sun, 08 Mar 2009)
Log Message:
-----------
Initial commit
Added Paths:
-----------
csw/mgar/pkg/java/ajcdigester/
csw/mgar/pkg/java/ajcdigester/Makefile
csw/mgar/pkg/java/ajcdigester/branches/
csw/mgar/pkg/java/ajcdigester/tags/
csw/mgar/pkg/java/ajcdigester/trunk/
csw/mgar/pkg/java/ajcdigester/trunk/Makefile
csw/mgar/pkg/java/ajcdigester/trunk/checksums
csw/mgar/pkg/java/ajcdigester/trunk/files/
csw/mgar/pkg/java/ajcdigester/trunk/files/CSWajcdigester.gspec
csw/mgar/pkg/java/ajcdigester/trunk/files/CSWajcdigesterdoc.gspec
Added: csw/mgar/pkg/java/ajcdigester/Makefile
===================================================================
--- csw/mgar/pkg/java/ajcdigester/Makefile (rev 0)
+++ csw/mgar/pkg/java/ajcdigester/Makefile 2009-03-08 15:37:38 UTC (rev 3633)
@@ -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/ajcdigester/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/ajcdigester/trunk/Makefile
===================================================================
--- csw/mgar/pkg/java/ajcdigester/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/java/ajcdigester/trunk/Makefile 2009-03-08 15:37:38 UTC (rev 3633)
@@ -0,0 +1,54 @@
+SHORTNAME = digester
+GARVERSION = 2.0
+
+GARNAME = commons-$(SHORTNAME)
+CATEGORIES = java
+
+DESCRIPTION = Apache Jakarta Commons Digester
+define BLURB
+Apache Jakarta Commons Digester : 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)-bin.tar.gz
+
+# Defines two packages, lib and doc
+DISTFILES += $(call admfiles,CSWajcdigester,)
+DISTFILES += $(call admfiles,CSWajcdigesterdoc,)
+
+# Defines package description
+SPKG_DESC_CSWajcdigester = $(DESCRIPTION)
+SPKG_DESC_CSWajcdigesterdoc = $(DESCRIPTION) documentation package
+
+# Defines dependencies
+REQUIRED_PKGS_CSWajcdigester = CSWajclogging CSWajccollect CSWajcbeanutils
+
+# Defines package content
+PKGFILES_CSWajcdigester = $(prefix)/share/doc/$(GARNAME)/License.txt
+PKGFILES_CSWajcdigester += $(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)-2.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)/apidocs/* $(DESTDIR)$(datadir)/doc/$(GARNAME)
+ @$(MAKECOOKIE)
Added: csw/mgar/pkg/java/ajcdigester/trunk/checksums
===================================================================
--- csw/mgar/pkg/java/ajcdigester/trunk/checksums (rev 0)
+++ csw/mgar/pkg/java/ajcdigester/trunk/checksums 2009-03-08 15:37:38 UTC (rev 3633)
@@ -0,0 +1,3 @@
+1f90462c586b6afb85e2c637d8f1c02e download/commons-digester-2.0-bin.tar.gz
+0c896bc20ed87b2657653ae44cf18282 download/CSWajcdigester.gspec
+94d73aedff4917be7fd53e060d17e01c download/CSWajcdigesterdoc.gspec
Added: csw/mgar/pkg/java/ajcdigester/trunk/files/CSWajcdigester.gspec
===================================================================
--- csw/mgar/pkg/java/ajcdigester/trunk/files/CSWajcdigester.gspec (rev 0)
+++ csw/mgar/pkg/java/ajcdigester/trunk/files/CSWajcdigester.gspec 2009-03-08 15:37:38 UTC (rev 3633)
@@ -0,0 +1,7 @@
+%var bitname commons_digester
+%var pkgname CSWajcdigester
+%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/ajcdigester/trunk/files/CSWajcdigesterdoc.gspec
===================================================================
--- csw/mgar/pkg/java/ajcdigester/trunk/files/CSWajcdigesterdoc.gspec (rev 0)
+++ csw/mgar/pkg/java/ajcdigester/trunk/files/CSWajcdigesterdoc.gspec 2009-03-08 15:37:38 UTC (rev 3633)
@@ -0,0 +1,7 @@
+%var bitname commons_digester_doc
+%var pkgname CSWajcdigesterdoc
+%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