[csw-devel] SF.net SVN: gar:[3657] csw/mgar/pkg
wbonnet at users.sourceforge.net
wbonnet at users.sourceforge.net
Sun Mar 8 21:13:05 CET 2009
Revision: 3657
http://gar.svn.sourceforge.net/gar/?rev=3657&view=rev
Author: wbonnet
Date: 2009-03-08 20:13:05 +0000 (Sun, 08 Mar 2009)
Log Message:
-----------
Initial commit
Added Paths:
-----------
csw/mgar/pkg/ajcupload/
csw/mgar/pkg/ajcupload/Makefile
csw/mgar/pkg/ajcupload/branches/
csw/mgar/pkg/ajcupload/tags/
csw/mgar/pkg/ajcupload/trunk/
csw/mgar/pkg/ajcupload/trunk/Makefile
csw/mgar/pkg/ajcupload/trunk/checksums
csw/mgar/pkg/ajcupload/trunk/files/
csw/mgar/pkg/ajcupload/trunk/files/CSWajcupload.gspec
csw/mgar/pkg/ajcupload/trunk/files/CSWajcuploaddoc.gspec
Added: csw/mgar/pkg/ajcupload/Makefile
===================================================================
--- csw/mgar/pkg/ajcupload/Makefile (rev 0)
+++ csw/mgar/pkg/ajcupload/Makefile 2009-03-08 20:13:05 UTC (rev 3657)
@@ -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/ajcupload/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/ajcupload/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ajcupload/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/ajcupload/trunk/Makefile 2009-03-08 20:13:05 UTC (rev 3657)
@@ -0,0 +1,55 @@
+SHORTNAME = fileupload
+GARVERSION = 1.2.1
+
+GARNAME = commons-$(SHORTNAME)
+CATEGORIES = java
+
+DESCRIPTION = Apache Jakarta Commons upload
+define BLURB
+Apache Jakarta Commons FileUpload : robust, high-performance, file upload capability
+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,CSWajcupload,)
+DISTFILES += $(call admfiles,CSWajcuploaddoc,)
+
+# Defines package description
+SPKG_DESC_CSWajcupload = $(DESCRIPTION)
+SPKG_DESC_CSWajcuploaddoc = $(DESCRIPTION) documentation package
+
+# Defines dependencies
+REQUIRED_PKGS_CSWajcupload = CSWajclogging CSWajcdigester
+
+# Defines package content
+PKGFILES_CSWajcupload = $(prefix)/share/doc/$(GARNAME)/License.txt
+PKGFILES_CSWajcupload += $(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)/lib/$(GARNAME)-$(GARVERSION).jar $(DESTDIR)$(datadir)/java
+ @( cd $(DESTDIR)$(datadir)/java ; \
+ ln -s $(GARNAME)-$(GARVERSION).jar $(GARNAME)-1.2.jar ; \
+ 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)/site/* $(DESTDIR)$(datadir)/doc/$(GARNAME)
+ @$(MAKECOOKIE)
Added: csw/mgar/pkg/ajcupload/trunk/checksums
===================================================================
--- csw/mgar/pkg/ajcupload/trunk/checksums (rev 0)
+++ csw/mgar/pkg/ajcupload/trunk/checksums 2009-03-08 20:13:05 UTC (rev 3657)
@@ -0,0 +1,3 @@
+d8cccd7b9938c17169751ed978265673 download/commons-fileupload-1.2.1-bin.tar.gz
+f07adfd3f198606e0ac4a312a8bdeab6 download/CSWajcupload.gspec
+f3376106fd0d1ec93bded90deadf84d2 download/CSWajcuploaddoc.gspec
Added: csw/mgar/pkg/ajcupload/trunk/files/CSWajcupload.gspec
===================================================================
--- csw/mgar/pkg/ajcupload/trunk/files/CSWajcupload.gspec (rev 0)
+++ csw/mgar/pkg/ajcupload/trunk/files/CSWajcupload.gspec 2009-03-08 20:13:05 UTC (rev 3657)
@@ -0,0 +1,7 @@
+%var bitname commons_upload
+%var pkgname CSWajcupload
+%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/ajcupload/trunk/files/CSWajcuploaddoc.gspec
===================================================================
--- csw/mgar/pkg/ajcupload/trunk/files/CSWajcuploaddoc.gspec (rev 0)
+++ csw/mgar/pkg/ajcupload/trunk/files/CSWajcuploaddoc.gspec 2009-03-08 20:13:05 UTC (rev 3657)
@@ -0,0 +1,7 @@
+%var bitname commons_upload_doc
+%var pkgname CSWajcuploaddoc
+%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