[csw-devel] SF.net SVN: gar:[6637] csw/mgar/pkg
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Thu Oct 1 13:39:09 CEST 2009
Revision: 6637
http://gar.svn.sourceforge.net/gar/?rev=6637&view=rev
Author: dmichelsen
Date: 2009-10-01 11:39:07 +0000 (Thu, 01 Oct 2009)
Log Message:
-----------
bdb45: Fix package names
Added Paths:
-----------
csw/mgar/pkg/bdb45/
csw/mgar/pkg/bdb45/trunk/Makefile
csw/mgar/pkg/bdb45/trunk/files/
Property Changed:
----------------
csw/mgar/pkg/bdb45/trunk/
Property changes on: csw/mgar/pkg/bdb45/trunk
___________________________________________________________________
Modified: svn:externals
- gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v1
+ gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
Copied: csw/mgar/pkg/bdb45/trunk/Makefile (from rev 6628, csw/mgar/pkg/bdb47/trunk/Makefile)
===================================================================
--- csw/mgar/pkg/bdb45/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/bdb45/trunk/Makefile 2009-10-01 11:39:07 UTC (rev 6637)
@@ -0,0 +1,88 @@
+GARNAME = db
+GARVERSION = 4.5.20
+CATEGORIES = lib
+
+DESCRIPTION = Berkeley DB 4.5
+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
+
+SPKG_SOURCEURL = http://www.oracle.com/technology/software/products/berkeley-db/db/index.html
+
+WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/build_unix
+
+PATCHDIR = $(WORKSRC)/..
+PATCHDIRLEVEL = 0
+PATCHFILES += $(notdir $(wildcard $(FILEDIR)/patch.*))
+
+BUILD64 = 1
+CONFIGURE_SCRIPTS = dist
+
+prefix = $(BUILD_PREFIX)/bdb45
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --enable-compat185
+CONFIGURE_ARGS += --enable-o_direct
+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 =
+
+NO_ISAEXEC = 1
+
+PACKAGES = CSWbdb45 CSWbdb45devel CSWbdb45doc
+
+CATALOGNAME_CSWbdb45 = berkeleydb45
+CATALOGNAME_CSWbdb45devel = berkeleydb45_devel
+CATALOGNAME_CSWbdb45doc = berkeleydb45_doc
+
+# 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.*
+
+EXTRA_PAX_ARGS += -s ',^\.$(prefix)/docs,.$(BUILD_PREFIX)/share/doc/$(CATALOGNAME_CSWbdb45),'
+EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv9 = .*/docs.*
+EXTRA_MERGE_EXCLUDE_FILES_isa-amd64 = .*/docs.*
+
+ARCHALL_CSWbdbdoc = 1
+
+SPKG_DESC_CSWbdb45 = BerkeleyDB 4.5 embedded database libraries and utilities
+SPKG_DESC_CSWbdb45devel = BerkeleyDB 4.5 development support
+SPKG_DESC_CSWbdb45doc = BerkeleyDB 4.5 documentation
+
+REQUIRED_PKGS_CSWbdb45devel = CSWbdb45
+
+LICENSE = LICENSE
+
+PKGFILES_CSWbdb45doc = /opt/csw/share/doc/.*
+
+PKGFILES_CSWbdb45devel = $(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)
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