diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2006-04-30 05:48:53 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2006-04-30 05:48:53 +0000 |
commit | d81ee3d1039a8d4d5e173c936c989f2a0a36e849 (patch) | |
tree | b06a6fa89be6ea73b943f6b2383cd999961136bb /dev-lisp/cl-sql | |
parent | New upstream version. (diff) | |
download | gentoo-2-d81ee3d1039a8d4d5e173c936c989f2a0a36e849.tar.gz gentoo-2-d81ee3d1039a8d4d5e173c936c989f2a0a36e849.tar.bz2 gentoo-2-d81ee3d1039a8d4d5e173c936c989f2a0a36e849.zip |
New upstream version.
(Portage version: 2.1_pre9-r4)
Diffstat (limited to 'dev-lisp/cl-sql')
-rw-r--r-- | dev-lisp/cl-sql/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lisp/cl-sql/cl-sql-3.5.6.ebuild | 103 | ||||
-rw-r--r-- | dev-lisp/cl-sql/files/digest-cl-sql-3.5.6 | 3 |
3 files changed, 112 insertions, 1 deletions
diff --git a/dev-lisp/cl-sql/ChangeLog b/dev-lisp/cl-sql/ChangeLog index 7d286ae79edd..ae05ab7e5a61 100644 --- a/dev-lisp/cl-sql/ChangeLog +++ b/dev-lisp/cl-sql/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/cl-sql # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sql/ChangeLog,v 1.25 2006/03/17 08:37:31 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sql/ChangeLog,v 1.26 2006/04/30 05:48:53 mkennedy Exp $ + +*cl-sql-3.5.6 (30 Apr 2006) + + 30 Apr 2006; Matthew Kennedy <mkennedy@gentoo.org> +cl-sql-3.5.6.ebuild: + New upstream version. *cl-sql-3.5.5 (17 Mar 2006) diff --git a/dev-lisp/cl-sql/cl-sql-3.5.6.ebuild b/dev-lisp/cl-sql/cl-sql-3.5.6.ebuild new file mode 100644 index 000000000000..d5bfea1da694 --- /dev/null +++ b/dev-lisp/cl-sql/cl-sql-3.5.6.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sql/cl-sql-3.5.6.ebuild,v 1.1 2006/04/30 05:48:53 mkennedy Exp $ + +inherit common-lisp eutils multilib + +DESCRIPTION="A multi-platform SQL interface for Common Lisp" +HOMEPAGE="http://clsql.b9.com/ + http://packages.debian.org/unstable/devel/cl-sql.html + http://www.cliki.net/CLSQL" +SRC_URI="http://files.b9.com/clsql/clsql-${PV}.tar.gz" +LICENSE="LLGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="postgres mysql sqlite sqlite3 odbc" +DEPEND="dev-lisp/common-lisp-controller + virtual/commonlisp + dev-lisp/cl-md5 + >=dev-lisp/cl-uffi-1.5.7 + postgres? ( dev-db/postgresql ) + mysql? ( dev-db/mysql ) + sqlite? ( =dev-db/sqlite-2* ) + sqlite3? ( =dev-db/sqlite-3* ) + odbc? ( dev-db/unixODBC )" + +S=${WORKDIR}/clsql-${PV} + +CLPACKAGE='clsql clsql-uffi clsql-postgresql clsql-postgresql-socket clsql-mysql clsql-odbc clsql-sqlite clsql-sqlite3' + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${PV}-gentoo.patch +} + +src_compile() { + make -C uffi || die + if use mysql; then + make -C db-mysql || die + fi +} + +src_install() { + dodir $CLSYSTEMROOT + dodir $CLSOURCEROOT + + insinto $CLSOURCEROOT/clsql/sql; doins sql/*.lisp + insinto $CLSOURCEROOT/clsql; doins clsql.asd + dosym $CLSOURCEROOT/clsql/clsql.asd $CLSYSTEMROOT/clsql.asd + + insinto $CLSOURCEROOT/clsql-uffi/uffi; doins uffi/*.lisp + insinto $CLSOURCEROOT/clsql-uffi; doins clsql-uffi.asd + dosym $CLSOURCEROOT/clsql-uffi/clsql-uffi.asd $CLSYSTEMROOT/clsql-uffi.asd + exeinto /usr/$(get_libdir)/clsql/; doexe uffi/clsql_uffi.so + + if use postgres; then + insinto $CLSOURCEROOT/clsql-postgresql/db-postgresql; doins db-postgresql/*.lisp + insinto $CLSOURCEROOT/clsql-postgresql; doins clsql-postgresql.asd + dosym $CLSOURCEROOT/clsql-postgresql/clsql-postgresql.asd $CLSYSTEMROOT/clsql-postgresql.asd + fi + + insinto $CLSOURCEROOT/clsql-postgresql-socket/db-postgresql-socket + doins db-postgresql-socket/*.lisp + insinto $CLSOURCEROOT/clsql-postgresql-socket + doins clsql-postgresql-socket.asd + dosym $CLSOURCEROOT/clsql-postgresql-socket/clsql-postgresql-socket.asd \ + $CLSYSTEMROOT/clsql-postgresql-socket.asd + + if use mysql; then + insinto $CLSOURCEROOT/clsql-mysql/db-mysql; doins db-mysql/*.lisp db-mysql/*.c + insinto $CLSOURCEROOT/clsql-mysql; doins clsql-mysql.asd + dosym $CLSOURCEROOT/clsql-mysql/clsql-mysql.asd $CLSYSTEMROOT/clsql-mysql.asd + exeinto /usr/$(get_libdir)/clsql/; doexe db-mysql/clsql_mysql.so + fi + + if use odbc; then + insinto $CLSOURCEROOT/clsql-odbc/db-odbc; doins db-odbc/*.lisp + insinto $CLSOURCEROOT/clsql-odbc; doins clsql-odbc.asd + dosym $CLSOURCEROOT/clsql-odbc/clsql-odbc.asd $CLSYSTEMROOT/clsql-odbc.asd + fi + + if use sqlite; then + insinto $CLSOURCEROOT/clsql-sqlite/db-sqlite; doins db-sqlite/*.lisp + insinto $CLSOURCEROOT/clsql-sqlite; doins clsql-sqlite.asd + dosym $CLSOURCEROOT/clsql-sqlite/clsql-sqlite.asd $CLSYSTEMROOT/clsql-sqlite.asd + fi + + if use sqlite3; then + insinto $CLSOURCEROOT/clsql-sqlite3/db-sqlite3; doins db-sqlite3/*.lisp + insinto $CLSOURCEROOT/clsql-sqlite3; doins clsql-sqlite3.asd + dosym $CLSOURCEROOT/clsql-sqlite3/clsql-sqlite3.asd $CLSYSTEMROOT/clsql-sqlite3.asd + fi + + dodoc BUGS CONTRIBUTORS COPYING* ChangeLog INSTALL LATEST-TEST-RESULTS NEWS README TODO + dodoc doc/clsql.pdf + tar xfz doc/html.tar.gz -C ${D}/usr/share/doc/${PF}/ + do-debian-credits + insinto /usr/share/doc/${PF}/examples + doins examples/* + + dosed "s,@LIBDIR@,$(get_libdir),g" \ + $CLSOURCEROOT/clsql-uffi/uffi/clsql-uffi-loader.lisp \ + $CLSOURCEROOT/clsql-mysql/db-mysql/mysql-loader.lisp +} diff --git a/dev-lisp/cl-sql/files/digest-cl-sql-3.5.6 b/dev-lisp/cl-sql/files/digest-cl-sql-3.5.6 new file mode 100644 index 000000000000..b9160276e114 --- /dev/null +++ b/dev-lisp/cl-sql/files/digest-cl-sql-3.5.6 @@ -0,0 +1,3 @@ +MD5 0e636936ee90d08586ccb2a68fe78788 clsql-3.5.6.tar.gz 704958 +RMD160 4bb8e9378c0688a60183964dd971acd3f046ef2f clsql-3.5.6.tar.gz 704958 +SHA256 3b0278e19cd8e5deace131f621445eb638bcd9ee73f714468ceee83b890d18d3 clsql-3.5.6.tar.gz 704958 |