debian swirl logo

Back to the packages list tntdb

#!/usr/bin/make -f

DEB_BUILD_PARALLEL= yes

include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk

DEB_CONFIGURE_EXTRA_FLAGS := --with-driverdir=/usr/lib/tntdb --with-doxygen
DEB_DH_MAKESHLIBS_ARGS := -Xusr/lib/tntdb

clean::
		rm -fr doc/html/ doc/latex/
		rm -f config.guess config.sub config.log
		rm -f src/config.h.in
		rm -f test/test.db

binary-post-install/libtntdb-dev::
		rm -f debian/libtntdb-dev/usr/share/doc/libtntdb-dev/html/jquery.js
		cd debian/libtntdb-dev/usr/share/doc/libtntdb-dev/html/; ln -s ../../../javascript/jquery/jquery.js jquery.js
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
		cd test; sqlite3 test.db < sqlite-test.sql; ./tntdb-test || /bin/true
endif

Builds:

libtntdb4
c++ class library for easy database access
libtntdb-dev
development headers for tntdb
tntdb-mysql4
mysql backend for tntdb database access library
tntdb-postgresql4
postgresql backend for tntdb database access library
tntdb-sqlite4
sqlite backend for tntdb database access library