[csw-devel] SF.net SVN: gar:[8410] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Feb 8 15:15:00 CET 2010


Revision: 8410
          http://gar.svn.sourceforge.net/gar/?rev=8410&view=rev
Author:   dmichelsen
Date:     2010-02-08 14:15:00 +0000 (Mon, 08 Feb 2010)

Log Message:
-----------
oracle-instantclient: Initial commit

Modified Paths:
--------------
    csw/mgar/pkg/oracle-instantclient/trunk/Makefile
    csw/mgar/pkg/oracle-instantclient/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/oracle-instantclient/

Modified: csw/mgar/pkg/oracle-instantclient/trunk/Makefile
===================================================================
--- csw/mgar/pkg/jdk6/trunk/Makefile	2010-02-04 08:54:53 UTC (rev 8343)
+++ csw/mgar/pkg/oracle-instantclient/trunk/Makefile	2010-02-08 14:15:00 UTC (rev 8410)
@@ -1,9 +1,8 @@
-GARNAME = jdk6
-SPKG_VERSION = 1.6.0_16
-GARVERSION = 6u16
-CATEGORIES = lang
+GARNAME = orainstclient
+GARVERSION = 10.2.0.4.0
+CATEGORIES = apps
 
-DESCRIPTION = Java Development Kit 6
+DESCRIPTION = Oracle Instant Client
 define BLURB
 endef
 
@@ -11,59 +10,31 @@
 # manually and put into /home/src before packaging.
 MASTER_SITES = manual://
 
-SUFFIXES_sparc = sparc sparcv9
-SUFFIXES_i386  = i586 x64
-SUFFIXES = $(SUFFIXES_sparc) $(SUFFIXES_i386)
+DISTFILES_sparc-32 = basic-10.2.0.4.0-solaris-sparc32.zip sdk-10.2.0.4.0-solaris-sparc32.zip
+DISTFILES_sparc-64 = basic-10.2.0.4.0-solaris-sparc64.zip sdk-10.2.0.4.0-solaris-sparc64.zip
+DISTFILES_i386-32 = instantclient-basic-solaris-x86-6432-10.2.0.2-20060526.zip instantclient-sdk-solaris-x86-6432-10.2.0.2-20060526.zip
+DISTFILES_i386-64 = instantclient-basic-solaris-x86-64-10.2.0.2-2006-05-26.zip instantclient-sdk-solaris-x86-64-10.2.0.2-2006-05-26.zip
 
-DISTNAME = jdk$(SPKG_VERSION)
-DISTFILES  = $(foreach S,$(SUFFIXES),jdk-$(GARVERSION)-solaris-$S.sh)
-NOEXTRACT  = $(foreach S,$(filter-out $(SUFFIXES_$(GARCH)),$(SUFFIXES)),jdk-$(GARVERSION)-solaris-$S.sh)
+DISTFILES  = $(foreach A,sparc i386,$(foreach S,32 64,$(DISTFILES_$A-$S)))
+NOEXTRACT  = $(filter-out $(DISTFILES_$(GARCH)-32) $(DISTFILES_$(GARCH)-64),$(DISTFILES))
 
-SPKG_SOURCEURL = http://java.sun.com/javase/downloads/index.jsp
+BUILD_DEP_PKGS = CSWchrpath
 
-PACKAGES = CSWjdk6 CSWjre6 CSWjdk CSWjre
+SPKG_SOURCEURL = http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
 
-CATALOGNAME_CSWjdk6 = jdk6
-CATALOGNAME_CSWjre6 = jre6
-CATALOGNAME_CSWjdk = jdk
-CATALOGNAME_CSWjre = jre
+PACKAGES = CSWoracleinstclient102
+CATALOGNAME = oracleinstclient102
 
-ARCHALL_CSWjdk = 1
-ARCHALL_CSWjre = 1
+# LICENSE = LICENSE
 
-LICENSE = LICENSE
+NO_ISAEXEC = 1
 
-SPKG_DESC_CSWjdk6 = Java Development Kit 6
-SPKG_DESC_CSWjre6 = Java Runtime Environment 6
-SPKG_DESC_CSWjdk = Java Delopment Kit - Latest Version (now CSWjdk6)
-SPKG_DESC_CSWjre = Java Runtime Environment - Latest Version (now CSWjre6)
-
-RUNTIME_DEP_PKGS_CSWjdk6 = CSWjre6
-RUNTIME_DEP_PKGS_CSWjdk = CSWjdk6
-RUNTIME_DEP_PKGS_CSWjre = CSWjre6
-
-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)'))
-
+BUILD64 = 1
 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
-
-# CSWjdk6 gets all the rest
-
 # Tell the user to download the file manually
 manual//%:
 	@echo
@@ -75,36 +46,25 @@
 	@echo "  $(GARCHIVEDIR)"
 	@echo
 
-# 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)
+define custom-zip-extract
+zip-extract-$(1):
+	ginstall -d $$(EXTRACTDIR)/$(2)
+	unzip $$(DOWNLOADDIR)/$$(notdir $(1)) -d $$(EXTRACTDIR)/$(2)
+	@mkdir -p $$(COOKIEDIR)/$$(@D) && date >> $$(COOKIEDIR)/$$@
+endef
 
-extract-archive-%.sh: shell-extract-archive-%.sh
-	@$(MAKECOOKIE)
-
 include gar/category.mk
 
+$(foreach A,sparc i386,$(foreach S,32 64,$(foreach F,$(DISTFILES_$A-$S),$(eval $(call custom-zip-extract,$F,$A-$S)))))
+
 install-custom:
 	@echo " ==> Installing $(GARNAME)"
-
-	@rm -rf $(DESTDIR)$(prefix)/java
-	@ginstall -d $(DESTDIR)$(prefix)/java/jdk
-	@(cd $(WORKDIR); pax -r -w $(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
+	ginstall -d $(DESTDIR)$(bindir)
+	ginstall $(WORKDIR)/$(GARCH)-$(MEMORYMODEL)/instantclient_10_2/genezi $(DESTDIR)$(bindir)
+	chrpath -r $(libdir) $(DESTDIR)$(bindir)/genezi
+	ginstall -d $(DESTDIR)$(libdir)
+	ginstall $(WORKDIR)/$(GARCH)-$(MEMORYMODEL)/instantclient_10_2/*.so* $(DESTDIR)$(libdir)
+	ginstall $(WORKDIR)/$(GARCH)-$(MEMORYMODEL)/instantclient_10_2/*.jar $(DESTDIR)$(libdir)
+	ginstall -d $(DESTDIR)$(includedir)/oracle/10.2/
+	ginstall $(WORKDIR)/$(GARCH)-$(MEMORYMODEL)/instantclient_10_2/sdk/include/* $(DESTDIR)$(includedir)/oracle/10.2/
 	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/oracle-instantclient/trunk/checksums
===================================================================
--- csw/mgar/pkg/jdk6/trunk/checksums	2010-02-04 08:54:53 UTC (rev 8343)
+++ csw/mgar/pkg/oracle-instantclient/trunk/checksums	2010-02-08 14:15:00 UTC (rev 8410)
@@ -1,8 +1,8 @@
-49e3f19f300f9634301324c66e9c538f  download/CSWjdk.gspec
-e97f304567b9a3504ed23ab5203b1d6a  download/CSWjdk6.gspec
-e8c5435c1ec2ee4b55bc64a7e43092f5  download/CSWjre.gspec
-db63838ec6ecabef9af5dbaeece93854  download/CSWjre6.gspec
-3b3403d0b8a5bba0f681f2bca66a2294  download/jdk-6u16-solaris-i586.sh
-d1ac0843e934663fa0d6b64fc6482bad  download/jdk-6u16-solaris-sparc.sh
-ac9da8dfdde3ae213d4dd0d8867b00a1  download/jdk-6u16-solaris-sparcv9.sh
-3b80a03228161bc58ae96e2399a3b939  download/jdk-6u16-solaris-x64.sh
+39bb3fa3621ba2050a4d1f764f844913  basic-10.2.0.4.0-solaris-sparc32.zip
+27224a32a71872d86e82db6119dc01db  basic-10.2.0.4.0-solaris-sparc64.zip
+77e4ccd5b2fb07d369175816d43d53db  instantclient-basic-solaris-x86-64-10.2.0.2-2006-05-26.zip
+f69498645ed1e3b37535b579af35e323  instantclient-basic-solaris-x86-6432-10.2.0.2-20060526.zip
+9176c1d2926e0fb249e9a272a37c83f7  instantclient-sdk-solaris-x86-64-10.2.0.2-2006-05-26.zip
+6f2fbc94d1125c0dc9abb730abb2c961  instantclient-sdk-solaris-x86-6432-10.2.0.2-20060526.zip
+14bce0a857876f3414c55d0e298ce2dc  sdk-10.2.0.4.0-solaris-sparc32.zip
+c76102374ee8c6e27caa334194e3065a  sdk-10.2.0.4.0-solaris-sparc64.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