[csw-devel] SF.net SVN: gar:[2234] csw/trunk/lang
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Sat Nov 8 12:38:58 CET 2008
Revision: 2234
http://gar.svn.sourceforge.net/gar/?rev=2234&view=rev
Author: dmichelsen
Date: 2008-11-08 11:38:56 +0000 (Sat, 08 Nov 2008)
Log Message:
-----------
jdk13: Initial commit
Added Paths:
-----------
csw/trunk/lang/jdk13/
csw/trunk/lang/jdk13/Makefile
csw/trunk/lang/jdk13/checksums
csw/trunk/lang/jdk13/files/
csw/trunk/lang/jdk13/files/CSWjdk13.gspec
Added: csw/trunk/lang/jdk13/Makefile
===================================================================
--- csw/trunk/lang/jdk13/Makefile (rev 0)
+++ csw/trunk/lang/jdk13/Makefile 2008-11-08 11:38:56 UTC (rev 2234)
@@ -0,0 +1,58 @@
+GARNAME = jdk13
+SPKG_VERSION = 1.3.1_22
+GARVERSION = $(shell echo $(SPKG_VERSION) | sed -e 's/\./_/g')
+CATEGORIES = lang
+
+DESCRIPTION = Java Development Kit 1.3
+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
+SUFFIXES_i386 = i586
+SUFFIXES = $(SUFFIXES_sparc) $(SUFFIXES_i386)
+
+DISTNAME = j2sdk$(GARVERSION)
+DISTFILES = $(foreach S,$(SUFFIXES),j2sdk-$(GARVERSION)-solaris-$S.sh)
+NOEXTRACT = $(foreach S,$(filter-out $(SUFFIXES_$(GARCH)),$(SUFFIXES)),j2sdk-$(GARVERSION)-solaris-$S.sh)
+DISTFILES += $(call admfiles,CSWjdk13)
+
+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)/jdk-1.3
+ @$(MAKECOOKIE)
Added: csw/trunk/lang/jdk13/checksums
===================================================================
--- csw/trunk/lang/jdk13/checksums (rev 0)
+++ csw/trunk/lang/jdk13/checksums 2008-11-08 11:38:56 UTC (rev 2234)
@@ -0,0 +1,3 @@
+d3734558d9f8b4a449390b5259aa55a7 download/j2sdk-1_3_1_22-solaris-sparc.sh
+81bf3f9e70564a9e4e9f4e9c814c9c5e download/j2sdk-1_3_1_22-solaris-i586.sh
+3384a8a8638a9e02ade7b1a452c31816 download/CSWjdk13.gspec
Added: csw/trunk/lang/jdk13/files/CSWjdk13.gspec
===================================================================
--- csw/trunk/lang/jdk13/files/CSWjdk13.gspec (rev 0)
+++ csw/trunk/lang/jdk13/files/CSWjdk13.gspec 2008-11-08 11:38:56 UTC (rev 2234)
@@ -0,0 +1,4 @@
+%var bitname jdk13
+%var pkgname CSWjdk13
+%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