[csw-devel] SF.net SVN: gar:[3651] csw/mgar/pkg
wbonnet at users.sourceforge.net
wbonnet at users.sourceforge.net
Sun Mar 8 20:28:02 CET 2009
Revision: 3651
http://gar.svn.sourceforge.net/gar/?rev=3651&view=rev
Author: wbonnet
Date: 2009-03-08 19:28:02 +0000 (Sun, 08 Mar 2009)
Log Message:
-----------
Initial commit
Added Paths:
-----------
csw/mgar/pkg/ajcmath/
csw/mgar/pkg/ajcmath/Makefile
csw/mgar/pkg/ajcmath/branches/
csw/mgar/pkg/ajcmath/tags/
csw/mgar/pkg/ajcmath/trunk/
csw/mgar/pkg/ajcmath/trunk/Makefile
csw/mgar/pkg/ajcmath/trunk/checksums
csw/mgar/pkg/ajcmath/trunk/files/
csw/mgar/pkg/ajcmath/trunk/files/CSWajcmath.gspec
csw/mgar/pkg/ajcmath/trunk/files/CSWajcmathdoc.gspec
Added: csw/mgar/pkg/ajcmath/Makefile
===================================================================
--- csw/mgar/pkg/ajcmath/Makefile (rev 0)
+++ csw/mgar/pkg/ajcmath/Makefile 2009-03-08 19:28:02 UTC (rev 3651)
@@ -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/ajcmath/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/ajcmath/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ajcmath/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/ajcmath/trunk/Makefile 2009-03-08 19:28:02 UTC (rev 3651)
@@ -0,0 +1,54 @@
+SHORTNAME = math
+GARVERSION = 1.2
+
+GARNAME = commons-$(SHORTNAME)
+CATEGORIES = java
+
+DESCRIPTION = Apache Jakarta Commons math
+define BLURB
+Apache Jakarta Commons math : 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,CSWajcmath,)
+DISTFILES += $(call admfiles,CSWajcmathdoc,)
+
+# Defines package description
+SPKG_DESC_CSWajcmath = $(DESCRIPTION)
+SPKG_DESC_CSWajcmathdoc = $(DESCRIPTION) documentation package
+
+# Defines dependencies
+REQUIRED_PKGS_CSWajcmath = CSWajcdiscovery
+
+# Defines package content
+PKGFILES_CSWajcmath = $(prefix)/share/doc/$(GARNAME)/License.txt
+PKGFILES_CSWajcmath += $(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/ajcmath/trunk/checksums
===================================================================
--- csw/mgar/pkg/ajcmath/trunk/checksums (rev 0)
+++ csw/mgar/pkg/ajcmath/trunk/checksums 2009-03-08 19:28:02 UTC (rev 3651)
@@ -0,0 +1,3 @@
+6296081b9b9c0f3f7469565a96454a35 download/commons-math-1.2.tar.gz
+7299a462f2b113ab49bf7820db254da5 download/CSWajcmath.gspec
+399e3dab33c386cc7e5799855aea0738 download/CSWajcmathdoc.gspec
Added: csw/mgar/pkg/ajcmath/trunk/files/CSWajcmath.gspec
===================================================================
--- csw/mgar/pkg/ajcmath/trunk/files/CSWajcmath.gspec (rev 0)
+++ csw/mgar/pkg/ajcmath/trunk/files/CSWajcmath.gspec 2009-03-08 19:28:02 UTC (rev 3651)
@@ -0,0 +1,7 @@
+%var bitname commons_math
+%var pkgname CSWajcmath
+%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/ajcmath/trunk/files/CSWajcmathdoc.gspec
===================================================================
--- csw/mgar/pkg/ajcmath/trunk/files/CSWajcmathdoc.gspec (rev 0)
+++ csw/mgar/pkg/ajcmath/trunk/files/CSWajcmathdoc.gspec 2009-03-08 19:28:02 UTC (rev 3651)
@@ -0,0 +1,7 @@
+%var bitname commons_math_doc
+%var pkgname CSWajcmathdoc
+%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