summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <hans@eds.org>2012-03-30 21:50:54 -0400
committerHans-Christoph Steiner <hans@eds.org>2012-03-31 21:33:26 -0400
commitb92fb94e0342045188556def0efcbd5bc81a16ba (patch)
treee4dd06f1cc613efb2d8369bab10a37b00b804c2a
parentf9b9771452d9d91fea2344aae2efa511294b8423 (diff)
remove support for Tcl libs, it needs to be ported to SQLCipher
-rw-r--r--debian/control12
-rw-r--r--debian/libsqlite3-tcl.dirs1
-rw-r--r--debian/libsqlite3-tcl.install1
-rwxr-xr-xdebian/rules25
4 files changed, 1 insertions, 38 deletions
diff --git a/debian/control b/debian/control
index 1bfba0e..1ce8d0c 100644
--- a/debian/control
+++ b/debian/control
@@ -67,15 +67,3 @@ Description: SQLite 3 development files
access without running a separate RDBMS process.
.
This package contains the development files (headers, static libraries)
-
-Package: libsqlite3-tcl
-Suggests: sqlite3-doc
-Section: interpreters
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: SQLite 3 Tcl bindings
- SQLite is a C library that implements an SQL database engine.
- Programs that link with the SQLite library can have SQL database
- access without running a separate RDBMS process.
- .
- This package contains the Tcl bindings.
diff --git a/debian/libsqlite3-tcl.dirs b/debian/libsqlite3-tcl.dirs
deleted file mode 100644
index 6845771..0000000
--- a/debian/libsqlite3-tcl.dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib
diff --git a/debian/libsqlite3-tcl.install b/debian/libsqlite3-tcl.install
deleted file mode 100644
index 7c00610..0000000
--- a/debian/libsqlite3-tcl.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/tcltk/sqlite3 usr/lib/tcltk/
diff --git a/debian/rules b/debian/rules
index 359cdcf..c91550d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,18 +14,6 @@ DDEBUG=`if (echo $(DEB_BUILD_OPTIONS) | grep -q debug) then \
echo ""; \
fi`
-export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
- confflags += --build $(DEB_HOST_GNU_TYPE) --with-tcl=/usr/lib/tcl8.5
- export CROSS_BUILDING=no
-else
- confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) --with-tcl=/usr/$(DEB_HOST_GNU_TYPE)/lib/tcl8.5 LDFLAGS=-L/usr/$(DEB_HOST_GNU_TYPE)/lib
- export CROSS_BUILDING=yes
-endif
-
#export DEB_CFLAGS_MAINT_APPEND = -O2 -fno-strict-aliasing
export CFLAGS += -O2 -fno-strict-aliasing \
@@ -47,9 +35,9 @@ configure-stamp:
./configure --prefix=/usr --mandir="/usr/share/man" \
$(confflags) --enable-threadsafe \
--enable-load-extension \
+ --disable-tcl \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--libexecdir=\$${libdir}/sqlite3 \
- TCLLIBDIR=/usr/lib/tcltk/sqlite3 \
$(DDEBUG)
touch $@
@@ -79,21 +67,10 @@ install: build
$(MAKE) install DESTDIR=$(DESTDIR)
chrpath -d $(DESTDIR)/usr/bin/sqlite3
- chrpath -d $(DESTDIR)/usr/lib/tcltk/sqlite3/libtclsqlite3.so
- install -m 0664 libtclsqlite3.la $(DESTDIR)/usr/lib/tcltk/sqlite3/
# Remove *.la files per policy 3.9.1.0
sed -i "/dependency_libs/ s/'.*'/''/" `find $(DESTDIR) -name '*.la'`
- # Create the pkgIndex.tcl file for the Tcl module. This generated file
- # actually turns out to be relocatable.
- echo "pkg_mkIndex -verbose $(DESTDIR)/usr/lib/tcltk/sqlite3" | \
- LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH) \
- tclsh8.5
- grep -q 'package ifneeded sqlite3' \
- $(DESTDIR)/usr/lib/tcltk/sqlite3/pkgIndex.tcl || \
- (echo "pkgIndex.tcl seems to be wrong" && exit 1)
-
binary-indep: build install
dh_testdir
dh_testroot