summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2003-10-17 16:51:17 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2003-10-17 16:51:17 +0000
commitbec691f8b167e91797646baa4d613c9dbe61ab17 (patch)
tree0eb11c62eed75de36da22f0d8cf4ea4ec8d35010 /dev-lisp
parent*** empty log message *** (diff)
downloadgentoo-2-bec691f8b167e91797646baa4d613c9dbe61ab17.tar.gz
gentoo-2-bec691f8b167e91797646baa4d613c9dbe61ab17.tar.bz2
gentoo-2-bec691f8b167e91797646baa4d613c9dbe61ab17.zip
*** empty log message ***
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/cl-sql/ChangeLog6
-rw-r--r--dev-lisp/cl-sql/Manifest5
-rw-r--r--dev-lisp/cl-sql/cl-sql-1.7.6.ebuild23
-rw-r--r--dev-lisp/cl-sql/files/digest-cl-sql-1.7.61
-rw-r--r--dev-lisp/cl-sql/metadata.xml5
5 files changed, 34 insertions, 6 deletions
diff --git a/dev-lisp/cl-sql/ChangeLog b/dev-lisp/cl-sql/ChangeLog
index 636d48ab15f9..8c10fcf09448 100644
--- a/dev-lisp/cl-sql/ChangeLog
+++ b/dev-lisp/cl-sql/ChangeLog
@@ -1,6 +1,10 @@
# 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.2 2003/10/06 12:19:46 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sql/ChangeLog,v 1.3 2003/10/17 16:51:14 mkennedy Exp $
+
+ 17 Oct 2003; Matthew Kennedy <mkennedy@gentoo.org> cl-sql-1.7.6.ebuild,
+ metadata.xml:
+ debian, preinst, postrm
*cl-sql-1.7.6 (06 Oct 2003)
diff --git a/dev-lisp/cl-sql/Manifest b/dev-lisp/cl-sql/Manifest
index fc952459fc24..aa20e6dd24f6 100644
--- a/dev-lisp/cl-sql/Manifest
+++ b/dev-lisp/cl-sql/Manifest
@@ -1,7 +1,6 @@
MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
-MD5 63517efc3cf4da7152dc0a6a1a3285d7 cl-sql-1.7.6.ebuild.~1.1.~ 2871
-MD5 b4be849b0a8858b5c374d3b31bdf04a0 cl-sql-1.7.6.ebuild 3178
+MD5 4af7c3279e5a13021ca38b20fdc5768a cl-sql-1.7.6.ebuild 3178
MD5 4efc54044d3c0b58216c199b9a302154 cl-sql-1.6.4.ebuild 2382
-MD5 b46db21fbe83cdf53e0bc3560f4f4e60 ChangeLog 462
+MD5 32c56b688a1eb0ccfd0957c9f44b7897 ChangeLog 579
MD5 f1d552471358205bfd6e93fea6094ae1 files/digest-cl-sql-1.7.6 134
MD5 a6466e9446f1925d56f3da03cde724ac files/digest-cl-sql-1.6.4 63
diff --git a/dev-lisp/cl-sql/cl-sql-1.7.6.ebuild b/dev-lisp/cl-sql/cl-sql-1.7.6.ebuild
index e57a3eae764b..7418f0710e1c 100644
--- a/dev-lisp/cl-sql/cl-sql-1.7.6.ebuild
+++ b/dev-lisp/cl-sql/cl-sql-1.7.6.ebuild
@@ -1,14 +1,17 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sql/cl-sql-1.7.6.ebuild,v 1.2 2003/10/17 16:51:14 mkennedy Exp $
inherit common-lisp
+DEB_PV=1
+
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"
+SRC_URI="http://ftp.debian.org/debian/pool/main/c/cl-sql/cl-sql_${PV}.orig.tar.gz
+ http://ftp.debian.org/debian/pool/main/c/cl-sql/cl-sql_${PV}-${DEB_PV}.diff.gz"
LICENSE="LLGPL-2.1"
SLOT="0"
KEYWORDS="~x86"
@@ -23,6 +26,11 @@ S=${WORKDIR}/cl-sql-${PV}
modules='clsql-base clsql clsql-postgresql-socket clsql-uffi'
+src_unpack() {
+ unpack ${A}
+ epatch cl-sql_${PV}-${DEB_PV}.diff
+}
+
src_compile() {
make -C uffi
if use mysql; then
@@ -70,6 +78,8 @@ src_install() {
dodoc COPYING* ChangeLog INSTALL NEWS README TODO
tar xfz doc/html.tar.gz -C ${D}/usr/share/doc/${P}/
+
+ do-debian-credits
}
pkg_postinst() {
@@ -87,3 +97,12 @@ pkg_prerm() {
use postgres && /usr/sbin/unregister-common-lisp-source clsql-postgresql
use mysql && /usr/sbin/unregister-common-lisp-source clsql-mysql
}
+
+
+pkg_preinst() {
+ rm -rf /usr/lib/common-lisp/*/clsql* || true
+}
+
+pkg_postrm() {
+ rm -rf /usr/lib/common-lisp/*/clsql* || true
+}
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
index de947b24d988..63fd8b6dac34 100644
--- a/dev-lisp/cl-sql/files/digest-cl-sql-1.7.6
+++ b/dev-lisp/cl-sql/files/digest-cl-sql-1.7.6
@@ -1 +1,2 @@
MD5 44dce63848c3ff7e988a7f8f252a2986 cl-sql_1.7.6.orig.tar.gz 295822
+MD5 9ed1b611ce9ca2b78b3bd9795f96d326 cl-sql_1.7.6-1.diff.gz 8570
diff --git a/dev-lisp/cl-sql/metadata.xml b/dev-lisp/cl-sql/metadata.xml
new file mode 100644
index 000000000000..f418045b09c8
--- /dev/null
+++ b/dev-lisp/cl-sql/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>common-lisp</herd>
+</pkgmetadata>