[csw-devel] SF.net SVN: gar:[6659] csw/mgar/pkg/bdb/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Oct 2 11:37:43 CEST 2009


Revision: 6659
          http://gar.svn.sourceforge.net/gar/?rev=6659&view=rev
Author:   dmichelsen
Date:     2009-10-02 09:37:43 +0000 (Fri, 02 Oct 2009)

Log Message:
-----------
bdb: Make package a stub to CSWbdb47

Added Paths:
-----------
    csw/mgar/pkg/bdb/trunk/Makefile

Removed Paths:
-------------
    csw/mgar/pkg/bdb/trunk/Makefile

Deleted: csw/mgar/pkg/bdb/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bdb/trunk/Makefile	2009-10-02 09:33:12 UTC (rev 6658)
+++ csw/mgar/pkg/bdb/trunk/Makefile	2009-10-02 09:37:43 UTC (rev 6659)
@@ -1,90 +0,0 @@
-GARNAME = db
-GARVERSION = 4.7.25
-CATEGORIES = lib
-
-DESCRIPTION = Berkeley DB 4.7
-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)/bdb47
-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
-ifeq ($(MEMORYMODEL),32)
-CONFIGURE_ARGS += --enable-tcl
-CONFIGURE_ARGS += --with-tcl=$(libdir)
-endif
-
-# bdb tests are *very* time consuming
-TEST_SCRIPTS =
-
-NO_ISAEXEC = 1
-
-PACKAGES = CSWbdb CSWbdbdevel CSWbdbdoc
-
-CATALOGNAME_CSWbdb      = berkeleydb
-CATALOGNAME_CSWbdbdevel = berkeleydb_devel
-CATALOGNAME_CSWbdbdoc   = berkeleydb_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_CSWbdb),'
-EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv9 = .*/docs.*
-EXTRA_MERGE_EXCLUDE_FILES_isa-amd64 = .*/docs.*
-
-ARCHALL_CSWbdbdoc = 1
-
-SPKG_DESC_CSWbdb      = BerkeleyDB 4.7 embedded database libraries and utilities
-SPKG_DESC_CSWbdbdevel = BerkeleyDB 4.7 development support
-SPKG_DESC_CSWbdbdoc   = BerkeleyDB 4.7 documentation
-
-REQUIRED_PKGS_CSWbdbdevel = CSWbdb
-
-LICENSE = LICENSE
-
-PKGFILES_CSWbdbdoc = $(PKGFILES_DOC)
-
-PKGFILES_CSWbdbdevel = $(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)

Copied: csw/mgar/pkg/bdb/trunk/Makefile (from rev 6657, csw/mgar/pkg/bdb3/trunk/Makefile)
===================================================================
--- csw/mgar/pkg/bdb/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/bdb/trunk/Makefile	2009-10-02 09:37:43 UTC (rev 6659)
@@ -0,0 +1,34 @@
+GARNAME = db
+GARVERSION = 4.7.25
+CATEGORIES = lib
+
+DESCRIPTION = Stub package as contents moved to CSWbdb47
+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
+
+PACKAGES = CSWbdb
+CATALOGNAME = berkeleydb
+
+REQUIRED_PKGS = CSWbdb47
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+TEST_SCRIPTS =
+
+include gar/category.mk
+
+install-custom:
+	ginstall -d $(DESTDIR)$(libdir)
+	ln -s ../bdb47/lib/libdb-4.7.so $(DESTDIR)$(libdir)
+	ginstall -d $(DESTDIR)$(libdir)/$(ISA_DEFAULT64)
+	ln -s ../../bdb47/lib/$(ISA_DEFAULT64)/libdb-4.7.so $(DESTDIR)$(libdir)/$(ISA_DEFAULT64)
+	@$(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