[csw-devel] SF.net SVN: gar:[2960] csw/mgar/pkg
Trygve Laugstøl
trygvis at opencsw.org
Sun Feb 1 10:51:48 CET 2009
The path should match the name of the jar file/project, and so should
the short name. If we start adding heaps of Java stuff to GAR this will
collide pretty fast.
--
Trygve
wbonnet at users.sourceforge.net wrote:
> Revision: 2960
> http://gar.svn.sourceforge.net/gar/?rev=2960&view=rev
> Author: wbonnet
> Date: 2009-01-31 23:19:24 +0000 (Sat, 31 Jan 2009)
>
> Log Message:
> -----------
> Initial commit
>
> Added Paths:
> -----------
> csw/mgar/pkg/collections/
> csw/mgar/pkg/collections/Makefile
> csw/mgar/pkg/collections/branches/
> csw/mgar/pkg/collections/tags/
> csw/mgar/pkg/collections/trunk/
> csw/mgar/pkg/collections/trunk/Makefile
> csw/mgar/pkg/collections/trunk/checksums
> csw/mgar/pkg/collections/trunk/files/
> csw/mgar/pkg/collections/trunk/files/CSWajccollect.gspec
> csw/mgar/pkg/collections/trunk/files/CSWajccollectdoc.gspec
>
> Added: csw/mgar/pkg/collections/Makefile
> ===================================================================
> --- csw/mgar/pkg/collections/Makefile (rev 0)
> +++ csw/mgar/pkg/collections/Makefile 2009-01-31 23:19:24 UTC (rev 2960)
> @@ -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/collections/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/collections/trunk/Makefile
> ===================================================================
> --- csw/mgar/pkg/collections/trunk/Makefile (rev 0)
> +++ csw/mgar/pkg/collections/trunk/Makefile 2009-01-31 23:19:24 UTC (rev 2960)
> @@ -0,0 +1,56 @@
> +SHORTNAME = collections
> +GARVERSION = 3.2.1
> +
> +GARNAME = commons-$(SHORTNAME)
> +CATEGORIES = java
> +
> +DESCRIPTION = Apache Jakarta Commons Collections
> +define BLURB
> +Apache Jakarta Commons Collections : suite of classes that extend the Java Collections Framework
> +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,CSWajccollect,)
> +DISTFILES += $(call admfiles,CSWajccollectdoc,)
> +
> +# Defines package description
> +SPKG_DESC_CSWajccollect = $(DESCRIPTION)
> +SPKG_DESC_CSWajccollectdoc = $(DESCRIPTION) documentation package
> +
> +# Defines dependencies
> +REQUIRED_PKGS_CSWajccollect = CSWjunit
> +
> +# Defines package content
> +PKGFILES_CSWajccollectdoc = $(prefix)/share/doc/.*
> +PKGFILES_CSWajccollectdoc += $(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-collections-3.2.1.jar $(DESTDIR)$(datadir)/java
> + @( cd $(DESTDIR)$(datadir)/java ; \
> + ln -s $(GARNAME)-$(GARVERSION).jar $(GARNAME)-3.2.jar ; \
> + ln -s $(GARNAME)-$(GARVERSION).jar $(GARNAME)-3.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/collections/trunk/checksums
> ===================================================================
> --- csw/mgar/pkg/collections/trunk/checksums (rev 0)
> +++ csw/mgar/pkg/collections/trunk/checksums 2009-01-31 23:19:24 UTC (rev 2960)
> @@ -0,0 +1,3 @@
> +6f5b078f01dd0c3910cc04898bf39924 download/commons-collections-3.2.1-bin.tar.gz
> +cc56401eb49ae53529c80900d7ad551c download/CSWajccollect.gspec
> +9c145a728bbbeb672c3d8d1c198bebd1 download/CSWajccollectdoc.gspec
>
> Added: csw/mgar/pkg/collections/trunk/files/CSWajccollect.gspec
> ===================================================================
> --- csw/mgar/pkg/collections/trunk/files/CSWajccollect.gspec (rev 0)
> +++ csw/mgar/pkg/collections/trunk/files/CSWajccollect.gspec 2009-01-31 23:19:24 UTC (rev 2960)
> @@ -0,0 +1,5 @@
> +%var bitname commons_collect
> +%var pkgname CSWajccollect
> +%var arch all
> +%include url file://%{PKGLIB}/csw_dyndepend.gspec
> +%copyright url file://%{WORKSRC_FIRSTMOD}/LICENSE.txt
>
> Added: csw/mgar/pkg/collections/trunk/files/CSWajccollectdoc.gspec
> ===================================================================
> --- csw/mgar/pkg/collections/trunk/files/CSWajccollectdoc.gspec (rev 0)
> +++ csw/mgar/pkg/collections/trunk/files/CSWajccollectdoc.gspec 2009-01-31 23:19:24 UTC (rev 2960)
> @@ -0,0 +1,5 @@
> +%var bitname commons_collect_doc
> +%var pkgname CSWajccollectdoc
> +%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.
> _______________________________________________
> devel mailing list
> devel at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/devel
More information about the devel
mailing list