[csw-devel] SF.net SVN: gar:[17850] csw/mgar/pkg/bdb48/branches/stlport/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Tue Apr 24 14:28:42 CEST 2012
Revision: 17850
http://gar.svn.sourceforge.net/gar/?rev=17850&view=rev
Author: dmichelsen
Date: 2012-04-24 12:28:42 +0000 (Tue, 24 Apr 2012)
Log Message:
-----------
bdb48/branches/stlport: Adjust for C++ bdb library compiled against stlport
Modified Paths:
--------------
csw/mgar/pkg/bdb48/branches/stlport/Makefile
Modified: csw/mgar/pkg/bdb48/branches/stlport/Makefile
===================================================================
--- csw/mgar/pkg/bdb48/branches/stlport/Makefile 2012-04-24 12:23:54 UTC (rev 17849)
+++ csw/mgar/pkg/bdb48/branches/stlport/Makefile 2012-04-24 12:28:42 UTC (rev 17850)
@@ -17,9 +17,6 @@
MASTER_SITES = http://download.oracle.com/berkeley-db/
DISTFILES = $(NAME)-$(VERSION).tar.gz
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
-
WORKSRC = $(WORKDIR)/$(NAME)-$(VERSION)/build_unix
PATCHDIR = $(WORKSRC)/..
@@ -31,7 +28,10 @@
CONFIGURE_SCRIPTS = dist
-prefix = $(BUILD_PREFIX)/bdb48
+# prefix = $(BUILD_PREFIX)/bdb48
+prefix = $(BUILD_PREFIX)/stlport4
+EXTRA_CXXFLAGS += -library=stlport4
+
docdir = $(BUILD_PREFIX)/share/doc
CONFIGURE_ARGS = $(DIRPATHS)
@@ -40,6 +40,7 @@
# No longer there in 4.8
#CONFIGURE_ARGS += --enable-rpc
CONFIGURE_ARGS += --enable-cxx
+# CONFIGURE_ARGS += --enable-stl
CONFIGURE_ARGS += --enable-java
# Exclude TCL support for 64 bit until we have a 64 bit TCL
@@ -49,40 +50,19 @@
# bdb tests are *very* time consuming
TEST_SCRIPTS =
-PACKAGES = CSWbdb48 CSWbdb48devel CSWbdb48doc
+VENDOR_URL = http://www.oracle.com/technology/software/products/berkeley-db/db/index.html
-CATALOGNAME_CSWbdb48 = berkeleydb48
-CATALOGNAME_CSWbdb48devel = berkeleydb48_devel
-CATALOGNAME_CSWbdb48doc = berkeleydb48_doc
-
-ARCHALL_CSWbdb48doc = 1
-
-SPKG_DESC_CSWbdb48 = BerkeleyDB 4.8 embedded database libraries and utilities
-SPKG_DESC_CSWbdb48devel = BerkeleyDB 4.8 development support
-SPKG_DESC_CSWbdb48doc = BerkeleyDB 4.8 documentation
-
-SPKG_SOURCEURL = http://www.oracle.com/technology/software/products/berkeley-db/db/index.html
-
-RUNTIME_DEP_PKGS_CSWbdb48devel = CSWbdb48
-CHECKPKG_OVERRIDES_CSWbdb48devel += surplus-dependency|CSWbdb48
-CHECKPKG_OVERRIDES_CSWbdb48 += missing-dependency|CSWbdb48devel
-
LICENSE = LICENSE
-EXTRA_PAX_ARGS += -s ',^\.$(prefix)/docs,.$(BUILD_PREFIX)/share/doc/$(CATALOGNAME_CSWbdb48),'
-EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv9 = .*/docs.* $(libdir)/db.jar
-EXTRA_MERGE_EXCLUDE_FILES_isa-amd64 = .*/docs.* $(libdir)/db.jar
+PACKAGES += CSWlibdb-cxx4-8-stlport
+SPKG_DESC_CSWlibdb-cxx4-8-stlport = BerkeleyDB 4.8 bindings for C++ with STLPort
+PKGFILES_CSWlibdb-cxx4-8-stlport += $(call baseisadirs,$(libdir),libdb_cxx(-\d+(\.\d+)*)?\.so)
+# Change later on to new stlport package CSWlibstlport1-stlport
+RUNTIME_DEP_PKGS_CSWlibdb-cxx4-8-stlport += CSWstlport
-# 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.*
+# Compiler run pathes, skip for now
+CHECKPKG_OVERRIDES_CSWlibdb-cxx4-8-stlport += bad-rpath-entry
-PKGFILES_CSWbdb48doc = $(PKGFILES_DOC)
-PKGFILES_CSWbdb48devel = $(includedir)/.*
-
-# Compiler run pathes, skip for now.
-CHECKPKG_OVERRIDES_CSWbdb48 += bad-rpath-entry
-
include gar/category.mk
LIBS += -lnsl
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