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

rthurner at users.sourceforge.net rthurner at users.sourceforge.net
Sat Apr 3 15:14:27 CEST 2010


Revision: 9525
          http://gar.svn.sourceforge.net/gar/?rev=9525&view=rev
Author:   rthurner
Date:     2010-04-03 13:14:25 +0000 (Sat, 03 Apr 2010)

Log Message:
-----------
bdb50 - first try of berkely db 5.0 with sqlite like interface

Added Paths:
-----------
    csw/mgar/pkg/bdb50/
    csw/mgar/pkg/bdb50/branches/
    csw/mgar/pkg/bdb50/tags/
    csw/mgar/pkg/bdb50/trunk/
    csw/mgar/pkg/bdb50/trunk/Makefile
    csw/mgar/pkg/bdb50/trunk/checksums
    csw/mgar/pkg/bdb50/trunk/files/


Property changes on: csw/mgar/pkg/bdb50/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/bdb50/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bdb50/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/bdb50/trunk/Makefile	2010-04-03 13:14:25 UTC (rev 9525)
@@ -0,0 +1,99 @@
+GARNAME = db
+GARVERSION = 5.0.21
+CATEGORIES = lib
+
+DESCRIPTION = Berkeley DB 5.0
+define BLURB
+  Berkeley DB (libdb) is a programmatic toolkit that provides embedded database
+  support for both traditional and client/server applications. It includes
+  b+tree, queue, extended linear hashing, fixed, and variable-length record
+  access methods, transactions, locking, logging, shared memory caching and
+  database recovery. DB supports C, C++, Java, and Perl APIs. It is available
+  for a wide variety of UNIX platforms as well as Windows NT and Windows 95
+  (MSVC 4, 5 and 6).
+endef
+
+MASTER_SITES = http://download.oracle.com/berkeley-db/
+DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz 
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/build_unix
+
+PATCHDIR = $(WORKSRC)/..
+PATCHDIRLEVEL = 0
+PATCHFILES += $(notdir $(wildcard $(FILEDIR)/patch.*))
+RELEASE = p$(words $(filter patch.$(GARVERSION).%,$(PATCHFILES)))
+
+BUILD64 = 1
+NOISAEXEC = 1
+
+CONFIGURE_SCRIPTS = dist
+
+prefix = $(BUILD_PREFIX)/bdb50
+docdir = $(BUILD_PREFIX)/share/doc
+
+CONFIGURE_ARGS  = $(DIRPATHS)
+CONFIGURE_ARGS += --enable-compat185
+CONFIGURE_ARGS += --enable-o_direct
+# No longer there in 4.8
+#CONFIGURE_ARGS += --enable-rpc
+CONFIGURE_ARGS += --enable-cxx
+CONFIGURE_ARGS += --enable-java
+
+# Exclude TCL support for 64 bit until we have a 64 bit TCL
+CONFIGURE_ARGS-mm-32 = --enable-tcl --with-tcl=$(libpath)
+CONFIGURE_ARGS += $(CONFIGURE_ARGS-mm-$(MEMORYMODEL))
+
+# bdb tests are *very* time consuming
+TEST_SCRIPTS =
+
+PACKAGES = CSWbdb50 CSWbdb50devel CSWbdb50doc
+
+CATALOGNAME_CSWbdb50      = berkeleydb50
+CATALOGNAME_CSWbdb50devel = berkeleydb50_devel
+CATALOGNAME_CSWbdb50doc   = berkeleydb50_doc
+
+ARCHALL_CSWbdb50doc = 1
+
+SPKG_DESC_CSWbdb50      = BerkeleyDB 5.0 embedded database libraries and utilities
+SPKG_DESC_CSWbdb50devel = BerkeleyDB 5.0 development support
+SPKG_DESC_CSWbdb50doc   = BerkeleyDB 5.0 documentation
+
+SPKG_SOURCEURL = http://www.oracle.com/technology/software/products/berkeley-db/db/index.html
+
+RUNTIME_DEP_PKGS_CSWbdb50devel = CSWbdb50
+
+LICENSE = LICENSE
+
+EXTRA_PAX_ARGS += -s ',^\.$(prefix)/docs,.$(BUILD_PREFIX)/share/doc/$(CATALOGNAME_CSWbdb50),'
+EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv9 = .*/docs.* $(libdir)/db.jar
+EXTRA_MERGE_EXCLUDE_FILES_isa-amd64 = .*/docs.* $(libdir)/db.jar
+
+# Remove the license from share/doc/berkeleydb/license/.*
+# because GAR expects license to be a file instead of a directory
+EXTRA_MERGE_EXCLUDE_FILES = .*/license.*
+
+PKGFILES_CSWbdb50doc = $(PKGFILES_DOC)
+PKGFILES_CSWbdb50devel = $(PKGFILES_DEVEL)
+
+include gar/category.mk
+
+LIBS += -lnsl
+export LIBS
+
+PATH := /usr/jdk1.6.0_07/bin:$(PATH)
+export PATH
+
+configure-dist:
+	@( cd $(WORKSRC) ; $(CONFIGURE_ENV) ../dist/configure $(CONFIGURE_ARGS) )
+	@$(MAKECOOKIE)
+
+post-merge:
+	gln -s . $(PKGROOT)$(libdir)/32
+	gln -s $(ISA_DEFAULT64) $(PKGROOT)$(libdir)/64
+	@$(MAKECOOKIE)
+
+SPKG_REVSTAMP := $(SPKG_REVSTAMP)_rev=$(RELEASE)
+


Property changes on: csw/mgar/pkg/bdb50/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/bdb50/trunk/checksums
===================================================================

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