summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2003-10-17 19:01:02 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2003-10-17 19:01:02 +0000
commit7cfc8430c9a37dbf1ab632b62c3f823ad6e75790 (patch)
treef384c055f4972271960dfceb82893c19304fae32 /dev-lisp
parent*** empty log message *** (diff)
downloadgentoo-2-7cfc8430c9a37dbf1ab632b62c3f823ad6e75790.tar.gz
gentoo-2-7cfc8430c9a37dbf1ab632b62c3f823ad6e75790.tar.bz2
gentoo-2-7cfc8430c9a37dbf1ab632b62c3f823ad6e75790.zip
*** empty log message ***
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/cl-uncommonsql/ChangeLog8
-rw-r--r--dev-lisp/cl-uncommonsql/Manifest4
-rw-r--r--dev-lisp/cl-uncommonsql/cl-uncommonsql-1.2.1.ebuild23
3 files changed, 31 insertions, 4 deletions
diff --git a/dev-lisp/cl-uncommonsql/ChangeLog b/dev-lisp/cl-uncommonsql/ChangeLog
index e8e98af17291..d6956b2fd0c1 100644
--- a/dev-lisp/cl-uncommonsql/ChangeLog
+++ b/dev-lisp/cl-uncommonsql/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lisp/cl-uncommonsql
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-uncommonsql/ChangeLog,v 1.1 2003/06/19 05:48:32 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-uncommonsql/ChangeLog,v 1.2 2003/10/17 19:00:55 mkennedy Exp $
+
+*cl-uncommonsql-1.2.1 (17 Oct 2003)
+
+ 17 Oct 2003; Matthew Kennedy <mkennedy@gentoo.org>
+ cl-uncommonsql-1.2.1.ebuild:
+ use support for mysql, postgresql, preinst, postrm
*cl-uncommonsql-1.2.0 (18 Jun 2003)
diff --git a/dev-lisp/cl-uncommonsql/Manifest b/dev-lisp/cl-uncommonsql/Manifest
index 0d83f3af9ae9..03c9789a5fc4 100644
--- a/dev-lisp/cl-uncommonsql/Manifest
+++ b/dev-lisp/cl-uncommonsql/Manifest
@@ -1,6 +1,6 @@
MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
-MD5 d8c9a3b44b71d54a9f20c819584d2b0d ChangeLog 343
-MD5 7627121cb6b3ced51f184fc612b962b3 cl-uncommonsql-1.2.1.ebuild 1917
+MD5 4901827cf06b4c09b67c0457af1c9e31 ChangeLog 518
+MD5 18c6765b382b5946bafc155ad6dd7b23 cl-uncommonsql-1.2.1.ebuild 2719
MD5 5ea6cf105716f7fab9f4aee72bd703c5 cl-uncommonsql-1.2.0.ebuild 1315
MD5 b1de4fe856dd6fba62cf838680f53de2 files/digest-cl-uncommonsql-1.2.0 77
MD5 81c341abb2556659cf373cf6b22ea331 files/digest-cl-uncommonsql-1.2.1 77
diff --git a/dev-lisp/cl-uncommonsql/cl-uncommonsql-1.2.1.ebuild b/dev-lisp/cl-uncommonsql/cl-uncommonsql-1.2.1.ebuild
index 4ebeff10edb0..94ad9e22b0cf 100644
--- a/dev-lisp/cl-uncommonsql/cl-uncommonsql-1.2.1.ebuild
+++ b/dev-lisp/cl-uncommonsql/cl-uncommonsql-1.2.1.ebuild
@@ -1,6 +1,6 @@
# 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-uncommonsql/cl-uncommonsql-1.2.1.ebuild,v 1.1 2003/10/17 17:17:02 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-uncommonsql/cl-uncommonsql-1.2.1.ebuild,v 1.2 2003/10/17 19:00:55 mkennedy Exp $
inherit common-lisp
@@ -43,6 +43,27 @@ src_install() {
>${D}/usr/share/common-lisp/systems/uncommonsql-postgresql.system
fi
+ if use mysql; then
+ insinto /usr/share/common-lisp/source/uncommonsql/dbms/mysql
+ doins dbms/mysql/*.lisp
+ dosym /usr/share/common-lisp/source/uncommonsql \
+ /usr/share/common-lisp/source/uncommonsql-mysql
+ dodir /usr/share/common-lisp/systems
+ grep -v mk:oos dbms/mysql/system.lisp \
+ >${D}/usr/share/common-lisp/systems/uncommonsql-mysql.system
+ fi
+}
+
+pkg_postinst() {
+ /usr/sbin/register-common-lisp-source uncommonsql
+ use postgres && /usr/sbin/register-common-lisp-source uncommonsql-postgresql
+ use mysql && /usr/sbin/register-common-lisp-source uncommonsql-mysql
+}
+
+pkg_prerm() {
+ /usr/sbin/unregister-common-lisp-source uncommonsql
+ use postgres && /usr/sbin/unregister-common-lisp-source uncommonsql-postgresql
+ use mysql && /usr/sbin/unregister-common-lisp-source uncommonsql-mysql
}
pkg_preinst() {