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

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Sun Mar 8 19:46:09 CET 2009


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

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

Added Paths:
-----------
    csw/mgar/pkg/ajchttpcl/
    csw/mgar/pkg/ajchttpcl/Makefile
    csw/mgar/pkg/ajchttpcl/branches/
    csw/mgar/pkg/ajchttpcl/tags/
    csw/mgar/pkg/ajchttpcl/trunk/
    csw/mgar/pkg/ajchttpcl/trunk/Makefile
    csw/mgar/pkg/ajchttpcl/trunk/files/
    csw/mgar/pkg/ajchttpcl/trunk/files/CSWajchttpcl.gspec
    csw/mgar/pkg/ajchttpcl/trunk/files/CSWajchttpcldoc.gspec

Added: csw/mgar/pkg/ajchttpcl/Makefile
===================================================================
--- csw/mgar/pkg/ajchttpcl/Makefile	                        (rev 0)
+++ csw/mgar/pkg/ajchttpcl/Makefile	2009-03-08 18:46:08 UTC (rev 3642)
@@ -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/ajchttpcl/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/ajchttpcl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ajchttpcl/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/ajchttpcl/trunk/Makefile	2009-03-08 18:46:08 UTC (rev 3642)
@@ -0,0 +1,54 @@
+SHORTNAME = httpclient
+GARVERSION = 3.1
+
+GARNAME = commons-$(SHORTNAME)
+CATEGORIES = java
+
+DESCRIPTION = Apache Jakarta Commons HttpClient
+define BLURB
+Apache Jakarta Commons HttpClient : framework for working with the client-side of the HTTP protocol
+endef
+
+# Use jakarta sources
+MASTER_SITES = http://www.apache.org/dist/httpcomponents/commons-$(SHORTNAME)/binary/
+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,CSWajchttpclient,)
+DISTFILES += $(call admfiles,CSWajchttpcldoc,)
+
+# Defines package description
+SPKG_DESC_CSWajchttpclient  = $(DESCRIPTION)
+SPKG_DESC_CSWajchttpcldoc   = $(DESCRIPTION) documentation package
+
+# Defines dependencies
+REQUIRED_PKGS_CSWajchttpclient = CSWajclogging 
+
+# Defines package content
+PKGFILES_CSWajchttpclient  = $(prefix)/share/doc/$(GARNAME)/License.txt
+PKGFILES_CSWajchttpclient += $(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/ajchttpcl/trunk/files/CSWajchttpcl.gspec
===================================================================
--- csw/mgar/pkg/ajchttpcl/trunk/files/CSWajchttpcl.gspec	                        (rev 0)
+++ csw/mgar/pkg/ajchttpcl/trunk/files/CSWajchttpcl.gspec	2009-03-08 18:46:08 UTC (rev 3642)
@@ -0,0 +1,7 @@
+%var            bitname commons_httpclient
+%var            pkgname CSWajchttpclient
+%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/ajchttpcl/trunk/files/CSWajchttpcldoc.gspec
===================================================================
--- csw/mgar/pkg/ajchttpcl/trunk/files/CSWajchttpcldoc.gspec	                        (rev 0)
+++ csw/mgar/pkg/ajchttpcl/trunk/files/CSWajchttpcldoc.gspec	2009-03-08 18:46:08 UTC (rev 3642)
@@ -0,0 +1,7 @@
+%var            bitname commons_httpcl_doc
+%var            pkgname CSWajchttpcldoc
+%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