summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2003-06-10 04:53:04 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2003-06-10 04:53:04 +0000
commit617b5ce9977eeb5a7a7977ef4c6974bf0aecf19f (patch)
treebcfe11291f5c920da39dfc65ba00f51356086a04 /dev-lisp/cl-sql
parentDEPEND on sed >= 4 (diff)
downloadhistorical-617b5ce9977eeb5a7a7977ef4c6974bf0aecf19f.tar.gz
historical-617b5ce9977eeb5a7a7977ef4c6974bf0aecf19f.tar.bz2
historical-617b5ce9977eeb5a7a7977ef4c6974bf0aecf19f.zip
initial common lisp import
Diffstat (limited to 'dev-lisp/cl-sql')
-rw-r--r--dev-lisp/cl-sql/ChangeLog8
-rw-r--r--dev-lisp/cl-sql/Manifest4
-rw-r--r--dev-lisp/cl-sql/cl-sql-1.6.4.ebuild78
-rw-r--r--dev-lisp/cl-sql/files/digest-cl-sql-1.6.41
4 files changed, 91 insertions, 0 deletions
diff --git a/dev-lisp/cl-sql/ChangeLog b/dev-lisp/cl-sql/ChangeLog
new file mode 100644
index 000000000000..00da63d59d23
--- /dev/null
+++ b/dev-lisp/cl-sql/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-lisp/cl-sql
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sql/ChangeLog,v 1.1 2003/06/10 04:53:04 mkennedy Exp $
+
+*cl-sql-1.6.4 (07 Jul 2003)
+
+ 07 Jul 2003; Matthew Kennedy <mkennedy@gentoo.org> :
+ initial import
diff --git a/dev-lisp/cl-sql/Manifest b/dev-lisp/cl-sql/Manifest
new file mode 100644
index 000000000000..651ffb30e0e9
--- /dev/null
+++ b/dev-lisp/cl-sql/Manifest
@@ -0,0 +1,4 @@
+MD5 36d3d80ba47bdf36e978560b679e663c cl-sql-1.6.4.ebuild 977
+MD5 3d7216856dbeb9720c3600f4d385f369 cl-sql-1.6.4.ebuild~ 747
+MD5 268c98c99a8bb05591b4395926158048 files/digest-cl-ppcre-0.5.4b 72
+MD5 a6466e9446f1925d56f3da03cde724ac files/digest-cl-sql-1.6.4 63
diff --git a/dev-lisp/cl-sql/cl-sql-1.6.4.ebuild b/dev-lisp/cl-sql/cl-sql-1.6.4.ebuild
new file mode 100644
index 000000000000..bd19d94be9c3
--- /dev/null
+++ b/dev-lisp/cl-sql/cl-sql-1.6.4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sql/cl-sql-1.6.4.ebuild,v 1.1 2003/06/10 04:53:04 mkennedy Exp $
+
+inherit common-lisp
+
+DESCRIPTION="A multi-platform SQL interface for Common Lisp"
+HOMEPAGE="http://clsql.med-info.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="~x86"
+IUSE=""
+DEPEND="dev-lisp/common-lisp-controller
+ virtual/commonlisp
+ dev-lisp/cl-uffi
+ postgres? ( dev-db/postgresql )"
+
+S=${WORKDIR}/clsql-${PV}
+
+modules='clsql-base clsql clsql-postgresql-socket clsql-uffi'
+
+# TODO: add the MySQL support
+
+src_compile() {
+ make -C uffi
+}
+
+src_install() {
+ local clsrc=/usr/share/common-lisp/source
+ local clsys=/usr/share/common-lisp/systems
+
+ dodir $clsys
+
+ insinto $clsrc/clsql/sql ; doins sql/*.lisp
+ insinto $clsrc/clsql ; doins clsql.asd
+ dosym $clsrc/clsql/clsql.asd $clsys/clsql.asd
+
+ insinto $clsrc/clsql-base/base ; doins base/*.lisp
+ insinto $clsrc/clsql-base ; doins clsql-base.asd
+ dosym $clsrc/clsql-base/clsql-base.asd $clsys/clsql-base.asd
+
+ exeinto /usr/lib/clsql/
+ doexe uffi/clsql-uffi.so
+
+ insinto $clsrc/clsql-uffi/uffi ; doins uffi/*.lisp
+ insinto $clsrc/clsql-uffi ; doins clsql-uffi.asd
+ dosym $clsrc/clsql-uffi/clsql-uffi.asd $clsys/clsql-uffi.asd
+
+ insinto $clsrc/clsql-postgresql-socket/db-postgresql-socket ; doins db-postgresql-socket/*.lisp
+ insinto $clsrc/clsql-postgresql-socket ; doins clsql-postgresql-socket.asd
+ dosym $clsrc/clsql-postgresql-socket/clsql-postgresql-socket.asd $clsys/clsql-postgresql-socket.asd
+
+ if use postgres ; then
+ insinto $clsrc/clsql-postgresql/db-postgresql ; doins db-postgresql/*.lisp
+ insinto $clsrc/clsql-postgresql ; doins clsql-postgresql.asd
+ dosym $clsrc/clsql-postgresql/clsql-postgresql.asd $clsys/clsql-postgresql.asd
+ fi
+
+ dodoc COPYING* ChangeLog INSTALL NEWS README TODO
+ tar xfz doc/html.tar.gz -C ${D}/usr/share/doc/${P}/
+}
+
+pkg_postinst() {
+ for i in $modules ; do
+ /usr/sbin/register-common-lisp-source $i
+ done
+ use postgres && /usr/sbin/register-common-lisp-source clsql-postgresql
+}
+
+pkg_prerm() {
+ for i in $modules ; do
+ /usr/sbin/unregister-common-lisp-source $i
+ done
+ /sbin/unregister-common-lisp-source clsql-postgresql
+}
diff --git a/dev-lisp/cl-sql/files/digest-cl-sql-1.6.4 b/dev-lisp/cl-sql/files/digest-cl-sql-1.6.4
new file mode 100644
index 000000000000..bd3122bda798
--- /dev/null
+++ b/dev-lisp/cl-sql/files/digest-cl-sql-1.6.4
@@ -0,0 +1 @@
+MD5 b35a33bdabd5a10ed14d149747bb6630 clsql-1.6.4.tar.gz 289603