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

guengel at users.sourceforge.net guengel at users.sourceforge.net
Fri May 3 11:26:19 CEST 2013


Revision: 20956
          http://gar.svn.sourceforge.net/gar/?rev=20956&view=rev
Author:   guengel
Date:     2013-05-03 09:26:18 +0000 (Fri, 03 May 2013)
Log Message:
-----------
qdbm/trunk: New QDBM package (GARified).

Added Paths:
-----------
    csw/mgar/pkg/qdbm/
    csw/mgar/pkg/qdbm/Makefile
    csw/mgar/pkg/qdbm/branches/
    csw/mgar/pkg/qdbm/tags/
    csw/mgar/pkg/qdbm/trunk/
    csw/mgar/pkg/qdbm/trunk/Makefile
    csw/mgar/pkg/qdbm/trunk/checksums
    csw/mgar/pkg/qdbm/trunk/files/
    csw/mgar/pkg/qdbm/trunk/files/0000-Adjusting-compiler-flags-for-C-C-libs.patch

Added: csw/mgar/pkg/qdbm/Makefile
===================================================================
--- csw/mgar/pkg/qdbm/Makefile	                        (rev 0)
+++ csw/mgar/pkg/qdbm/Makefile	2013-05-03 09:26:18 UTC (rev 20956)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/qdbm/trunk
___________________________________________________________________
Added: svn:ignore
   + work


Added: csw/mgar/pkg/qdbm/trunk/Makefile
===================================================================
--- csw/mgar/pkg/qdbm/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/qdbm/trunk/Makefile	2013-05-03 09:26:18 UTC (rev 20956)
@@ -0,0 +1,77 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = qdbm
+VERSION = 1.8.78
+GARTYPE = v2
+GARCOMPILER = SUN
+
+PACKAGING_PLATFORMS = solaris9-sparc solaris9-i386 solaris10-sparc solaris10-i386
+
+DESCRIPTION = QDBM is a library of routines for managing a database.
+define BLURB
+  QDBM is a library of routines for managing a database. The database
+  is a simple data file containing records, each is a pair of a key
+  and a value. Every key and value is serial bytes with variable
+  length. Both binary dat a and character string can be used as a key
+  and a value. There is neither concept of data tables nor data
+  types. Records are organized in hash table or B+ tree.
+endef
+
+MASTER_SITES = http://fallabs.com/qdbm/
+DISTFILES  = $(DISTNAME).tar.gz
+
+PATCHFILES  = 0000-Adjusting-compiler-flags-for-C-C-libs.patch
+
+# File name regex to get notifications about upstream software releases
+# NOTE: Use this only if the automatic regex creation
+#       does not work for your package
+# UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of MASTER_SITES, then 
+# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
+# UPSTREAM_MASTER_SITES = 
+
+PACKAGES  = CSWqdbm-bin
+SPKG_DESC_CSWqdbm-bin = QDBM - utilities
+PKGFILES_CSWqdbm-bin  = .*/bin/.*
+PKGFILES_CSWqdbm-bin += .*/man/man1/.*
+RUNTIME_DEP_PKGS_CSWqdbm-bin = CSWlibqdbm14
+
+PACKAGES += CSWlibqdbm14
+SPKG_DESC_CSWlibqdbm14 = QDBM - library
+PKGFILES_CSWlibqdbm14  = $(call baseisadirs,$(libdir),libqdbm\.so\.14(\.\d+)*)
+OBSOLETED_BY_CSWlibqdbm14 = CSWqdbm
+CHECKPKG_OVERRIDES_CSWlibqdbm14 += file-with-bad-content|/usr/local|root/opt/csw/lib/libqdbm.so.14.14.0
+CHECKPKG_OVERRIDES_CSWlibqdbm14 += file-with-bad-content|/usr/local|root/opt/csw/lib/sparcv9/libqdbm.so.14.14.0
+
+PACKAGES += CSWlibqdbm-dev
+SPKG_DESC_CSWlibqdbm-dev = QDBM - development files
+RUNTIME_DEP_PKGS_CSWlibqdbm-dev = CSWlibqdbm14
+
+BUILD64 = 1
+
+CONFIGURE_ARGS  = $(DIRPATHS)
+CONFIGURE_ARGS += --enable-pthread 
+
+
+
+include gar/category.mk
+
+post-install-modulated:
+	rm $(DESTDIR)$(libdir)/libqdbm.so
+	rm $(DESTDIR)$(libdir)/libqdbm.so.14
+	cd $(DESTDIR)$(libdir) ; \
+	ln -s libqdbm.so.14.14.0 libqdbm.so.14 ; \
+	ln -s libqdbm.so.14 libqdbm.so
+	@$(MAKECOOKIE)
+
+post-merge: merge-doc
+
+merge-doc:
+	if [ -d $(PKGROOT)$(prefix)/share/qdbm ] ; then\
+		[ ! -d $(PKGROOT)$(docdir)/qdbm ] && mkdir -p $(PKGROOT)$(docdir)/qdbm ; \
+		mv $(PKGROOT)$(prefix)/share/qdbm/* $(PKGROOT)/$(docdir)/qdbm/ ; \
+		rmdir $(PKGROOT)$(prefix)/share/qdbm ; \
+	fi
+	@$(MAKECOOKIE)
\ No newline at end of file


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

Added: csw/mgar/pkg/qdbm/trunk/checksums
===================================================================
--- csw/mgar/pkg/qdbm/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/qdbm/trunk/checksums	2013-05-03 09:26:18 UTC (rev 20956)
@@ -0,0 +1 @@
+66b3bd69a651316b8d6adc2f21cf3225  qdbm-1.8.78.tar.gz

Added: csw/mgar/pkg/qdbm/trunk/files/0000-Adjusting-compiler-flags-for-C-C-libs.patch
===================================================================
--- csw/mgar/pkg/qdbm/trunk/files/0000-Adjusting-compiler-flags-for-C-C-libs.patch	                        (rev 0)
+++ csw/mgar/pkg/qdbm/trunk/files/0000-Adjusting-compiler-flags-for-C-C-libs.patch	2013-05-03 09:26:18 UTC (rev 20956)
@@ -0,0 +1,39 @@
+From f53fa00b45802e0cb073a96e870d83605ceb001a Mon Sep 17 00:00:00 2001
+From: Rafael Ostertag <raos at opencsw.org>
+Date: Thu, 2 May 2013 13:07:20 +0200
+Subject: [PATCH] Adjusting compiler flags for C/C++ libs.
+
+---
+ Makefile.in      |    2 +-
+ plus/Makefile.in |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 384146b..5232058 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -56,7 +56,7 @@ CPPFLAGS = @CPPFLAGS@ -I$(srcdir) -I$(MYHEADDIR) \
+   -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 \
+   -D_POSIX_MAPPED_FILES=1 -D_POSIX_SYNCHRONIZED_IO=1 \
+   -DPIC=1 -D_THREAD_SAFE=1 -D_REENTRANT=1 -DNDEBUG
+-CFLAGS = -Wall -pedantic -fPIC -fsigned-char -O3 -fomit-frame-pointer -fforce-addr @MYOPTS@
++CFLAGS = -KPIC -O3 @CFLAGS@
+ LD = @LD@
+ LIBS = -lqdbm @LIBS@
+ LIBLDFLAGS = @LDFLAGS@ -L. -L$(MYLIBDIR) -L$(HOME)/lib -L/usr/local/lib @LIBS@
+diff --git a/plus/Makefile.in b/plus/Makefile.in
+index a5fb9a2..edc2764 100644
+--- a/plus/Makefile.in
++++ b/plus/Makefile.in
+@@ -44,7 +44,7 @@ CPPFLAGS = @CPPFLAGS@ -I$(srcdir) -I$(srcdir)/.. -I$(MYHEADDIR) \
+   -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 \
+   -D_POSIX_MAPPED_FILES=1 -D_POSIX_SYNCHRONIZED_IO=1 \
+   -DPIC=1 -D_THREAD_SAFE=1 -D_REENTRANT=1 -DNDEBUG
+-CXXFLAGS = -Wall -ansi -pedantic -fsigned-char -fPIC -O2 -fno-strict-aliasing @MYOPTS@
++CXXFLAGS = -KPIC @MYOPTS@
+ LD = @LD@
+ LIBS = -lqdbm @LIBS@
+ LIBLDFLAGS = @LDFLAGS@ -L. -L$(srcdir)/.. -L$(MYLIBDIR) \
+-- 
+1.7.10.3
+

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