sqlite: update to 3.6.13, converted to subpkgs.

--HG--
extra : convert_revision : b85265ab7957205440462464701a4a54f833ffb0
This commit is contained in:
Juan RP 2009-04-19 01:47:35 +02:00
parent d9bca73480
commit aca306775e
4 changed files with 37 additions and 5 deletions

1
templates/sqlite-devel Symbolic link
View file

@ -0,0 +1 @@
sqlite

2
templates/sqlite/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=3.6.13
api_depends=${abi_depends}

View file

@ -0,0 +1,17 @@
# Template file for 'sqlite-devel'.
#
short_desc="${sourcepkg} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run sqlite
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
}

View file

@ -1,14 +1,15 @@
# Template build file for 'sqlite'.
pkgname=sqlite
version=3.6.4
sourcepkg=$pkgname
version=3.6.13
distfiles="http://sqlite.org/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-tcl --enable-load-extension --with-readline-inc="
make_cmd="$XBPS_MASTERDIR/bin/gmake"
pkgconfig_override="sqlite3.pc"
configure_env="CPPFLAGS=-DSQLITE_ENABLE_COLUMN_METADATA=1 LIBS=-ldl"
configure_args="--disable-tcl --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 <xtraeme@gmail.com>"
checksum=b420b8a196807feb5162f293ea64e7741a633e92
checksum=2ca2591847df72224dd6f99c8fffe35bb63bf41a8519d8e15ad48141aa841bfa
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
@ -20,3 +21,14 @@ long_desc="
SQLite is not a client library used to connect to a big database server.
SQLite is the server. The SQLite library reads and writes directly to and
from the database files on disk."
subpackages="devel"
Add_dependency full glibc
Add_dependency full readline
post_install()
{
# Install the manpage
install -D -m644 ${wrksrc}/sqlite3.1 \
${DESTDIR}/usr/share/man/man1/sqlite3.1
}