[csw-devel] SF.net SVN: gar:[10736] csw/mgar/pkg/opendbx/trunk/Makefile

idogan23 at users.sourceforge.net idogan23 at users.sourceforge.net
Sat Aug 14 21:09:22 CEST 2010


Revision: 10736
          http://gar.svn.sourceforge.net/gar/?rev=10736&view=rev
Author:   idogan23
Date:     2010-08-14 19:09:22 +0000 (Sat, 14 Aug 2010)

Log Message:
-----------
opendbx: added sqlite3 support

Modified Paths:
--------------
    csw/mgar/pkg/opendbx/trunk/Makefile

Modified: csw/mgar/pkg/opendbx/trunk/Makefile
===================================================================
--- csw/mgar/pkg/opendbx/trunk/Makefile	2010-08-14 18:56:18 UTC (rev 10735)
+++ csw/mgar/pkg/opendbx/trunk/Makefile	2010-08-14 19:09:22 UTC (rev 10736)
@@ -17,14 +17,16 @@
 MASTER_SITES = http://www.linuxnetworks.de/opendbx/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
 
-PACKAGES = CSWopendbx CSWopendbxdevel CSWopendbxmysql
+PACKAGES = CSWopendbx CSWopendbxdevel CSWopendbxmysql CSWopendbxsqlite3
 CATALOGNAME_CSWopendbx = opendbx
 CATALOGNAME_CSWopendbxdevel = opendbx_devel
 CATALOGNAME_CSWopendbxmysql = opendbx_mysql
+CATALOGNAME_CSWopendbxsqlite3 = opendbx_sqlite3
 
 SPKG_DESC_CSWopendbx = $(DESCRIPTION)
 SPKG_DESC_CSWopendbxdevel = $(DESCRIPTION), development package
 SPKG_DESC_CSWopendbxmysql = $(DESCRIPTION), mysql backend package
+SPKG_DESC_CSWopendbxsqlite3 = $(DESCRIPTION), sqlite3 backend package
 
 # File name regex to get notifications about upstream software releases
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
@@ -46,10 +48,11 @@
 
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --disable-utils
-CONFIGURE_ARGS += --with-backends=mysql
+CONFIGURE_ARGS += --with-backends="mysql sqlite3"
 
 PKGFILES_CSWopendbxdevel = $(PKGFILES_DEVEL)
 PKGFILES_CSWopendbxmysql = $(call baseisadirs,$(libdir),opendbx/libmysqlbackend.*) 
+PKGFILES_CSWopendbxsqlite3 = $(call baseisadirs,$(libdir),opendbx/libsqlite3backend.*) 
 
 #CONFIGURE_ARGS += --with-backends=oracle
 #EXTRA_LIB = /opt/csw/instantclient_10_2
@@ -64,6 +67,7 @@
 
 CHECKPKG_OVERRIDES_CSWopendbxdevel += surplus-dependency|CSWopendbx
 CHECKPKG_OVERRIDES_CSWopendbxmysql += surplus-dependency|CSWopendbx
+CHECKPKG_OVERRIDES_CSWopendbxsqlite3 += surplus-dependency|CSWopendbx
 
 RUNTIME_DEP_PKGS_CSWopendbx += CSWgcc4corert
 RUNTIME_DEP_PKGS_CSWopendbx += CSWgcc4g++rt
@@ -72,5 +76,7 @@
 RUNTIME_DEP_PKGS_CSWopendbxmysql += CSWgcc4corert
 RUNTIME_DEP_PKGS_CSWopendbxmysql += CSWzlib
 RUNTIME_DEP_PKGS_CSWopendbxmysql += CSWmysql5rt
+RUNTIME_DEP_PKGS_CSWopendbxsqlite3 += CSWgcc4corert
+RUNTIME_DEP_PKGS_CSWopendbxsqlite3 += CSWsqlite3rt
 
 include gar/category.mk


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