diff --git a/srcpkgs/sqlite-tcl b/srcpkgs/sqlite-tcl new file mode 120000 index 0000000000..90a746152e --- /dev/null +++ b/srcpkgs/sqlite-tcl @@ -0,0 +1 @@ +sqlite \ No newline at end of file diff --git a/srcpkgs/sqlite/sqlite-tcl.template b/srcpkgs/sqlite/sqlite-tcl.template new file mode 100644 index 0000000000..f68fcdcc37 --- /dev/null +++ b/srcpkgs/sqlite/sqlite-tcl.template @@ -0,0 +1,15 @@ +# Template file for 'sqlite-tcl'. +# +short_desc="${sourcepkg} TCL bindings" +long_desc="${long_desc} + + This package contains TCL bindings for sqlite." + +Add_dependency run sqlite +Add_dependency run tcl + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/tcl* ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/sqlite/template b/srcpkgs/sqlite/template index 1a8d290e05..a7cc92b9ec 100644 --- a/srcpkgs/sqlite/template +++ b/srcpkgs/sqlite/template @@ -1,14 +1,14 @@ # Template build file for 'sqlite'. pkgname=sqlite -version=3.6.17 +version=3.6.21 distfiles="http://sqlite.org/$pkgname-$version.tar.gz" build_style=gnu_configure configure_env="CPPFLAGS=-DSQLITE_ENABLE_COLUMN_METADATA=1 LIBS=-ldl" -configure_args="--disable-tcl --enable-load-extension --enable-threadsafe +configure_args="--enable-load-extension --enable-threadsafe --enable-threads-override-locks --enable-cross-thread-connections" short_desc="SQL Database Engine in a C Library" maintainer="Juan RP " -checksum=490385689cf8113499a9f66bd96f64824b597ba77be54dd7a0fdf744483a2ef8 +checksum=675bd7b2fbdbbfbbcb44b8567d3b43237003f1fba8047639646d101699f24d21 long_desc=" SQLite is a C library that implements an SQL database engine. Programs that link with the SQLite library can have SQL database access without @@ -21,9 +21,11 @@ long_desc=" SQLite is the server. The SQLite library reads and writes directly to and from the database files on disk." -subpackages="$pkgname-devel" -Add_dependency full glibc -Add_dependency full readline +subpackages="$pkgname-devel $pkgname-tcl" +Add_dependency run glibc +Add_dependency run readline +Add_dependency build readline-devel +Add_dependency build tcl-devel post_install() {