summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2003-10-06 12:19:49 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2003-10-06 12:19:49 +0000
commit12d375937a07ae43169c71c347332f76bedc5678 (patch)
treeea2c60947e5917aae267cdcbe2d240b00dba9c53 /dev-lisp/cl-sql
parentnew upstream and mysql support (diff)
downloadgentoo-2-12d375937a07ae43169c71c347332f76bedc5678.tar.gz
gentoo-2-12d375937a07ae43169c71c347332f76bedc5678.tar.bz2
gentoo-2-12d375937a07ae43169c71c347332f76bedc5678.zip
new upstream and mysql support
Diffstat (limited to 'dev-lisp/cl-sql')
-rw-r--r--dev-lisp/cl-sql/ChangeLog7
-rw-r--r--dev-lisp/cl-sql/Manifest4
-rw-r--r--dev-lisp/cl-sql/cl-sql-1.7.6.ebuild89
-rw-r--r--dev-lisp/cl-sql/files/digest-cl-sql-1.7.61
4 files changed, 98 insertions, 3 deletions
diff --git a/dev-lisp/cl-sql/ChangeLog b/dev-lisp/cl-sql/ChangeLog
index 00da63d59d23..636d48ab15f9 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-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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sql/ChangeLog,v 1.2 2003/10/06 12:19:46 mkennedy Exp $
+
+*cl-sql-1.7.6 (06 Oct 2003)
+
+ 06 Oct 2003; Matthew Kennedy <mkennedy@gentoo.org> cl-sql-1.7.6.ebuild:
+ new upstream and added support for mysql
*cl-sql-1.6.4 (07 Jul 2003)
diff --git a/dev-lisp/cl-sql/Manifest b/dev-lisp/cl-sql/Manifest
index 3f8f84c38004..e40a86bc32af 100644
--- a/dev-lisp/cl-sql/Manifest
+++ b/dev-lisp/cl-sql/Manifest
@@ -1,5 +1,5 @@
-MD5 4b224c40cfd6286827b9e92199d0da8c ChangeLog 315
+MD5 b46db21fbe83cdf53e0bc3560f4f4e60 ChangeLog 462
MD5 4efc54044d3c0b58216c199b9a302154 cl-sql-1.6.4.ebuild 2382
-MD5 dc820834dcfc03a4516969befd55bfa4 cl-sql-1.7.6.ebuild 2410
+MD5 63517efc3cf4da7152dc0a6a1a3285d7 cl-sql-1.7.6.ebuild 2871
MD5 a6466e9446f1925d56f3da03cde724ac files/digest-cl-sql-1.6.4 63
MD5 e16daf2320852b92ecdb24eab4ac953f files/digest-cl-sql-1.7.6 69
diff --git a/dev-lisp/cl-sql/cl-sql-1.7.6.ebuild b/dev-lisp/cl-sql/cl-sql-1.7.6.ebuild
new file mode 100644
index 000000000000..e57a3eae764b
--- /dev/null
+++ b/dev-lisp/cl-sql/cl-sql-1.7.6.ebuild
@@ -0,0 +1,89 @@
+# 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.7.6.ebuild,v 1.1 2003/10/06 12:19:46 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://ftp.debian.org/debian/pool/main/c/cl-sql/cl-sql_${PV}.orig.tar.gz"
+LICENSE="LLGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="postgres mysql"
+DEPEND="dev-lisp/common-lisp-controller
+ virtual/commonlisp
+ dev-lisp/cl-uffi
+ postgres? ( dev-db/postgresql )
+ mysql? ( dev-db/mysql )"
+
+S=${WORKDIR}/cl-sql-${PV}
+
+modules='clsql-base clsql clsql-postgresql-socket clsql-uffi'
+
+src_compile() {
+ make -C uffi
+ if use mysql; then
+ make -C db-mysql
+ fi
+}
+
+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
+ if use mysql; then
+ insinto $clsrc/clsql-mysql/db-mysql; doins db-mysql/*.lisp
+ insinto $clsrc/clsql-mysql; doins clsql-mysql.asd
+ dosym $clsrc/clsql-mysql/clsql-mysql.asd $clsys/clsql-mysql.asd
+ exeinto /usr/lib/clsql
+ doexe db-mysql/clsql-mysql.so
+ 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
+ use mysql && /usr/sbin/register-common-lisp-source clsql-mysql
+}
+
+pkg_prerm() {
+ for i in $modules ; do
+ /usr/sbin/unregister-common-lisp-source $i
+ done
+ use postgres && /usr/sbin/unregister-common-lisp-source clsql-postgresql
+ use mysql && /usr/sbin/unregister-common-lisp-source clsql-mysql
+}
diff --git a/dev-lisp/cl-sql/files/digest-cl-sql-1.7.6 b/dev-lisp/cl-sql/files/digest-cl-sql-1.7.6
new file mode 100644
index 000000000000..de947b24d988
--- /dev/null
+++ b/dev-lisp/cl-sql/files/digest-cl-sql-1.7.6
@@ -0,0 +1 @@
+MD5 44dce63848c3ff7e988a7f8f252a2986 cl-sql_1.7.6.orig.tar.gz 295822