[csw-devel] SF.net SVN: gar:[11672] csw/mgar/pkg
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Sat Nov 20 11:34:17 CET 2010
Revision: 11672
http://gar.svn.sourceforge.net/gar/?rev=11672&view=rev
Author: dmichelsen
Date: 2010-11-20 10:34:17 +0000 (Sat, 20 Nov 2010)
Log Message:
-----------
openjdk: Initial commit, does not compile yet
Added Paths:
-----------
csw/mgar/pkg/openjdk/
csw/mgar/pkg/openjdk/branches/
csw/mgar/pkg/openjdk/tags/
csw/mgar/pkg/openjdk/trunk/
csw/mgar/pkg/openjdk/trunk/Makefile
csw/mgar/pkg/openjdk/trunk/checksums
csw/mgar/pkg/openjdk/trunk/files/
Property changes on: csw/mgar/pkg/openjdk/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: svn:externals
+ gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
Added: csw/mgar/pkg/openjdk/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openjdk/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/openjdk/trunk/Makefile 2010-11-20 10:34:17 UTC (rev 11672)
@@ -0,0 +1,85 @@
+GARNAME = openjdk
+SPKG_VERSION = 7.ea.b118.11
+GARVERSION = 7.b118.11
+CATEGORIES = lang
+
+DESCRIPTION = OpenJDK 7
+define BLURB
+endef
+
+MASTER_SITES = http://www.java.net/download/openjdk/jdk7/promoted/b118/
+
+SUFFIXES_sparc = sparc sparcv9
+SUFFIXES_i386 = i586 x64
+SUFFIXES = $(SUFFIXES_sparc) $(SUFFIXES_i386)
+
+DISTNAME = jdk$(SPKG_VERSION)
+DISTFILES = $(foreach S,$(SUFFIXES),jdk-$(GARVERSION)-solaris-$S.sh)
+
+DISTFILES = openjdk-7-ea-src-b118-11_nov_2010.zip
+DISTFILES += $(foreach S,$(SUFFIXES),jdk-7-ea-plug-b118-solaris-$S-11_nov_2010.jar)
+NOEXTRACT = $(foreach S,$(filter-out $(SUFFIXES_$(GARCH)),$(SUFFIXES)),jdk-7-ea-plug-b118-solaris-$S-11_nov_2010.jar)
+
+SPKG_SOURCEURL = http://download.java.net/openjdk/jdk7/
+
+PACKAGES = CSWopenjdk7
+
+CATALOGNAME_CSWopenjdk7 = openjdk7
+
+LICENSE = COPYRIGHT
+
+SPKG_DESC_CSWopenjdk7 = Open Java Development Kit 7
+
+MANPAGES_JRE = java.1 javaws.1 keytool.1 orbd.1 pack200.1 policytool.1 rmid.1 rmiregistry.1
+MANPAGES_JRE += servertool.1 tnameserv.1 unpack200.1
+
+MANPAGE_REGEX = ($(shell echo $(MANPAGES_JRE) | perl -lne 's/\./\\./g;print join("|",split)'))
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+PKGFILES_CSWjdk = $(prefix)/java/jdk/latest
+
+PKGFILES_CSWjre = $(prefix)/java/jre/latest
+PKGFILES_CSWjre += $(prefix)/java/man
+
+PKGFILES_CSWjre6 = $(prefix)/java/jdk/$(DISTNAME)/jre/.*
+PKGFILES_CSWjre6 += $(prefix)/java/jdk/$(DISTNAME)/man/.*/$(MANPAGE_REGEX)
+PKGFILES_CSWjre6 += $(prefix)/java/jre/jre$(SPKG_VERSION)
+PKGFILES_CSWjre6 += $(prefix)/java/jre/jre6
+
+# rule to extract files with shell
+# Clear DISPLAY or the installer will bring up advertisement
+shell-extract-archive-%:
+ @echo " ==> Extracting $(DOWNLOADDIR)/$*"
+ @echo "yes" | (D=$(abspath $(DOWNLOADDIR)/$*); cd $(EXTRACTDIR); DISPLAY= MORE="-10000" sh $$D -noregister)
+ @$(MAKECOOKIE)
+
+extract-archive-%.sh: shell-extract-archive-%.sh
+ @$(MAKECOOKIE)
+
+include gar/category.mk
+
+install-custom:
+ @echo " ==> Installing $(GARNAME)"
+
+ @rm -rf $(DESTDIR)$(prefix)/java
+ @ginstall -d $(DESTDIR)$(prefix)/java/jdk
+ @(cd $(WORKDIR); pax -r -w -s ',.*/\.git.*,,' $(DISTNAME) $(DESTDIR)$(prefix)/java/jdk)
+ @rm -f $(DESTDIR)$(prefix)/java/jdk/latest
+ @gln -sf jdk6 $(DESTDIR)$(prefix)/java/jdk/latest
+ @rm -f $(DESTDIR)$(prefix)/java/jdk/jdk6
+ @gln -sf $(DISTNAME) $(DESTDIR)$(prefix)/java/jdk/jdk6
+
+ @ginstall -d $(DESTDIR)$(prefix)/java/jre
+ @rm -f $(DESTDIR)$(prefix)/java/jre/jre$(SPKG_VERSION)
+ @gln -sf ../jdk/$(DISTNAME)/jre $(DESTDIR)$(prefix)/java/jre/jre$(SPKG_VERSION)
+ @rm -f $(DESTDIR)$(prefix)/java/jre/latest
+ @gln -sf jre6 $(DESTDIR)$(prefix)/java/jre/latest
+ @rm -f $(DESTDIR)$(prefix)/java/jre/jre6
+ @gln -sf jre$(SPKG_VERSION) $(DESTDIR)$(prefix)/java/jre/jre6
+
+ @gln -sf ../man $(DESTDIR)$(prefix)/java/jdk/$(DISTNAME)/jre/man
+ @$(MAKECOOKIE)
Property changes on: csw/mgar/pkg/openjdk/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/openjdk/trunk/checksums
===================================================================
--- csw/mgar/pkg/openjdk/trunk/checksums (rev 0)
+++ csw/mgar/pkg/openjdk/trunk/checksums 2010-11-20 10:34:17 UTC (rev 11672)
@@ -0,0 +1,5 @@
+d94e25f3856434680763fc9936bf30a7 jdk-7-ea-plug-b118-solaris-i586-11_nov_2010.jar
+8abc3e571938b432e8caa0628c736fe7 jdk-7-ea-plug-b118-solaris-sparc-11_nov_2010.jar
+ce8df696713b9a188abf99b153f85708 jdk-7-ea-plug-b118-solaris-sparcv9-11_nov_2010.jar
+c042d7e770548e2a793bbc9e507a244e jdk-7-ea-plug-b118-solaris-x64-11_nov_2010.jar
+ed700f3ed910f1c162a336c34ee6f197 openjdk-7-ea-src-b118-11_nov_2010.zip
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