[csw-devel] SF.net SVN: gar:[2239] csw/trunk/lang

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Sat Nov 8 13:48:25 CET 2008


Revision: 2239
          http://gar.svn.sourceforge.net/gar/?rev=2239&view=rev
Author:   dmichelsen
Date:     2008-11-08 12:48:24 +0000 (Sat, 08 Nov 2008)

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

Added Paths:
-----------
    csw/trunk/lang/jre5/
    csw/trunk/lang/jre5/Makefile
    csw/trunk/lang/jre5/checksums
    csw/trunk/lang/jre5/files/
    csw/trunk/lang/jre5/files/CSWjre5.gspec


Property changes on: csw/trunk/lang/jre5
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: csw/trunk/lang/jre5/Makefile
===================================================================
--- csw/trunk/lang/jre5/Makefile	                        (rev 0)
+++ csw/trunk/lang/jre5/Makefile	2008-11-08 12:48:24 UTC (rev 2239)
@@ -0,0 +1,58 @@
+GARNAME = jre5
+SPKG_VERSION = 1.5.0_15
+GARVERSION = $(shell echo $(SPKG_VERSION) | sed -e 's/\./_/g')
+CATEGORIES = lang
+
+DESCRIPTION = Java Runtime Environment 5.0
+define BLURB
+endef
+
+# There is no MASTER_SITES because the software must be downloaded
+# manually and put into /home/src before packaging.
+MASTER_SITES = manual://
+
+SUFFIXES_sparc = sparc sparcv9
+SUFFIXES_i386  = i586 amd64
+SUFFIXES = $(SUFFIXES_sparc) $(SUFFIXES_i386)
+
+DISTNAME = jre$(SPKG_VERSION)
+DISTFILES  = $(foreach S,$(SUFFIXES),jre-$(GARVERSION)-solaris-$S.sh)
+NOEXTRACT  = $(foreach S,$(filter-out $(SUFFIXES_$(GARCH)),$(SUFFIXES)),jre-$(GARVERSION)-solaris-$S.sh)
+DISTFILES += $(call admfiles,CSWjre5)
+
+SPKG_SOURCEURL = http://java.sun.com/products/archive/
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+# Tell the user to download the file manually
+manual//%:
+	@echo
+	@echo "Please download the file"
+	@echo "  $*"
+	@echo "manually from"
+	@echo "  $(SPKG_SOURCEURL)"
+	@echo "and copy it to"
+	@echo "  $(GARCHIVEDIR)"
+	@echo
+
+# rule to extract files with shell
+shell-extract-%:
+	@echo " ==> Extracting $(DOWNLOADDIR)/$*"
+	@echo "yes" | (D=$(abspath $(DOWNLOADDIR)/$*); cd $(EXTRACTDIR); MORE="-10000" sh $$D)
+	@$(MAKECOOKIE)
+
+extract-%.sh: shell-extract-%.sh
+	@$(MAKECOOKIE)
+
+include ../category.mk
+
+install-custom:
+	@echo " ==> Installing $(GARNAME)"
+	@rm -rf $(DESTDIR)$(prefix)/$(DISTNAME)
+	@ginstall -d $(DESTDIR)$(prefix)
+	@(cd $(WORKDIR); pax -r -w -v $(DISTNAME) $(DESTDIR)$(prefix))
+	@gln -sf $(DISTNAME) $(DESTDIR)$(prefix)/jre-5.0
+	@$(MAKECOOKIE)

Added: csw/trunk/lang/jre5/checksums
===================================================================
--- csw/trunk/lang/jre5/checksums	                        (rev 0)
+++ csw/trunk/lang/jre5/checksums	2008-11-08 12:48:24 UTC (rev 2239)
@@ -0,0 +1,5 @@
+2085ac8203a7dc84bc579ef2222558d5  download/jre-1_5_0_15-solaris-sparc.sh
+89ad643d44d4f84039a8d945a535b619  download/jre-1_5_0_15-solaris-sparcv9.sh
+baf8c03fc3931b7bfee8d1947a37a2f0  download/jre-1_5_0_15-solaris-i586.sh
+f3fdaa848f7794164c39dd8df7b3e97d  download/jre-1_5_0_15-solaris-amd64.sh
+4f467f5077f4bca644d1631f090b2b5e  download/CSWjre5.gspec

Added: csw/trunk/lang/jre5/files/CSWjre5.gspec
===================================================================
--- csw/trunk/lang/jre5/files/CSWjre5.gspec	                        (rev 0)
+++ csw/trunk/lang/jre5/files/CSWjre5.gspec	2008-11-08 12:48:24 UTC (rev 2239)
@@ -0,0 +1,4 @@
+%var            bitname jre5
+%var            pkgname CSWjre5
+%include        url file://%{PKGLIB}/csw_standard.gspec
+%copyright      url file://%{WORKSRC}/LICENSE


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