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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Sat Nov 8 14:47:46 CET 2008


Revision: 2244
          http://gar.svn.sourceforge.net/gar/?rev=2244&view=rev
Author:   dmichelsen
Date:     2008-11-08 13:47:45 +0000 (Sat, 08 Nov 2008)

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

Added Paths:
-----------
    csw/trunk/lang/jdk6/
    csw/trunk/lang/jdk6/Makefile
    csw/trunk/lang/jdk6/checksums
    csw/trunk/lang/jdk6/files/
    csw/trunk/lang/jdk6/files/CSWjdk6.gspec


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


Added: csw/trunk/lang/jdk6/Makefile
===================================================================
--- csw/trunk/lang/jdk6/Makefile	                        (rev 0)
+++ csw/trunk/lang/jdk6/Makefile	2008-11-08 13:47:45 UTC (rev 2244)
@@ -0,0 +1,58 @@
+GARNAME = jdk6
+GARVERSION = 6u7
+CATEGORIES = lang
+
+DESCRIPTION = Java Development Kit 6
+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 x64
+SUFFIXES = $(SUFFIXES_sparc) $(SUFFIXES_i386)
+
+DISTNAME = jdk1.6.0_07
+DISTFILES  = $(foreach S,$(SUFFIXES),jdk-$(GARVERSION)-solaris-$S.sh)
+NOEXTRACT  = $(foreach S,$(filter-out $(SUFFIXES_$(GARCH)),$(SUFFIXES)),jdk-$(GARVERSION)-solaris-$S.sh)
+DISTFILES += $(call admfiles,CSWjdk6)
+
+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))
+	@rm -f $(DESTDIR)$(prefix)/jdk-6
+	@gln -sf $(DISTNAME) $(DESTDIR)$(prefix)/jdk-6
+	@$(MAKECOOKIE)

Added: csw/trunk/lang/jdk6/checksums
===================================================================
--- csw/trunk/lang/jdk6/checksums	                        (rev 0)
+++ csw/trunk/lang/jdk6/checksums	2008-11-08 13:47:45 UTC (rev 2244)
@@ -0,0 +1,5 @@
+43cfb8558b7ea7fbea53791299f872fa  download/jdk-6u7-solaris-sparc.sh
+6013c261e431bfe800649d78bea11863  download/jdk-6u7-solaris-sparcv9.sh
+7b772b029506bf5a386dd2623b4ec167  download/jdk-6u7-solaris-i586.sh
+bc563129d88a20bb2ae0f6d918ae3a14  download/jdk-6u7-solaris-x64.sh
+d2ea0d736a7cf088ed9d452f3b1ecb1d  download/CSWjdk6.gspec

Added: csw/trunk/lang/jdk6/files/CSWjdk6.gspec
===================================================================
--- csw/trunk/lang/jdk6/files/CSWjdk6.gspec	                        (rev 0)
+++ csw/trunk/lang/jdk6/files/CSWjdk6.gspec	2008-11-08 13:47:45 UTC (rev 2244)
@@ -0,0 +1,4 @@
+%var            bitname jdk6
+%var            pkgname CSWjdk6
+%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