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

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Sun Mar 8 19:22:41 CET 2009


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

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

Added Paths:
-----------
    csw/mgar/pkg/ajcdiscovery/
    csw/mgar/pkg/ajcdiscovery/branches/
    csw/mgar/pkg/ajcdiscovery/tags/
    csw/mgar/pkg/ajcdiscovery/trunk/
    csw/mgar/pkg/ajcdiscovery/trunk/Makefile
    csw/mgar/pkg/ajcdiscovery/trunk/files/


Property changes on: csw/mgar/pkg/ajcdiscovery/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/ajcdiscovery/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ajcdiscovery/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/ajcdiscovery/trunk/Makefile	2009-03-08 18:22:41 UTC (rev 3635)
@@ -0,0 +1,54 @@
+SHORTNAME = discovery
+GARVERSION = 0.4
+
+GARNAME = commons-$(SHORTNAME)
+CATEGORIES = java
+
+DESCRIPTION = Apache Jakarta Commons Discovery
+define BLURB
+Apache Jakarta Commons Discovery : Component about discovering for pluggable interfaces
+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,CSWajcdiscovery,)
+DISTFILES += $(call admfiles,CSWajcdiscoverydoc,)
+
+# Defines package description
+SPKG_DESC_CSWajcdiscovery    = $(DESCRIPTION)
+SPKG_DESC_CSWajcdiscoverydoc = $(DESCRIPTION) documentation package
+
+# Defines dependencies
+REQUIRED_PKGS_CSWajcdiscovery = CSWajclogging
+
+# Defines package content
+PKGFILES_CSWajcdiscovery  = $(prefix)/share/doc/$(GARNAME)/License.txt
+PKGFILES_CSWajcdiscovery += $(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)-0.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)


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