summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2003-10-16 08:07:51 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2003-10-16 08:07:51 +0000
commit2f01156018e9abe09b3765f46cacdafb59d908ba (patch)
treea048b9e3443d29aa4021f6864a143bf1c123b500 /dev-lisp/cl-pg
parent*** empty log message *** (diff)
downloadgentoo-2-2f01156018e9abe09b3765f46cacdafb59d908ba.tar.gz
gentoo-2-2f01156018e9abe09b3765f46cacdafb59d908ba.tar.bz2
gentoo-2-2f01156018e9abe09b3765f46cacdafb59d908ba.zip
*** empty log message ***
Diffstat (limited to 'dev-lisp/cl-pg')
-rw-r--r--dev-lisp/cl-pg/ChangeLog6
-rw-r--r--dev-lisp/cl-pg/Manifest5
-rw-r--r--dev-lisp/cl-pg/cl-pg-0.18.ebuild21
-rw-r--r--dev-lisp/cl-pg/files/digest-cl-pg-0.181
-rw-r--r--dev-lisp/cl-pg/metadata.xml5
5 files changed, 32 insertions, 6 deletions
diff --git a/dev-lisp/cl-pg/ChangeLog b/dev-lisp/cl-pg/ChangeLog
index 73b34da12d05..f0d65d4ca983 100644
--- a/dev-lisp/cl-pg/ChangeLog
+++ b/dev-lisp/cl-pg/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lisp/cl-pg
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-pg/ChangeLog,v 1.1 2003/06/10 04:53:04 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-pg/ChangeLog,v 1.2 2003/10/16 08:07:48 mkennedy Exp $
+
+ 16 Oct 2003; Matthew Kennedy <mkennedy@gentoo.org> cl-pg-0.18.ebuild,
+ metadata.xml:
+ preinst, postrm, debian-patch
*cl-pg-0.18 (07 Jul 2003)
diff --git a/dev-lisp/cl-pg/Manifest b/dev-lisp/cl-pg/Manifest
index f6e54f574bb7..d9e77d857221 100644
--- a/dev-lisp/cl-pg/Manifest
+++ b/dev-lisp/cl-pg/Manifest
@@ -1,6 +1,5 @@
MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
-MD5 d3a4c79579e9ab15f823d85b003be9e8 cl-pg-0.18.ebuild 1124
-MD5 a9430893bc6844c93c49f5a17714975b cl-pg-0.18.ebuild.~1.1.~ 810
-MD5 f99f0bc763d6b942317ee8082cb97f26 ChangeLog 314
+MD5 2561c5f4ebf7293ee9b941679690753a cl-pg-0.18.ebuild 1124
+MD5 aea090c95844d2fd56bd9e867ab11e6d ChangeLog 435
MD5 073460157c1484e18626c97ae7110c4d files/pg.asd 282
MD5 fb91fe1dd7af03952ab688c04d9c2643 files/digest-cl-pg-0.18 129
diff --git a/dev-lisp/cl-pg/cl-pg-0.18.ebuild b/dev-lisp/cl-pg/cl-pg-0.18.ebuild
index 930ec9da2f42..a8c9ef841817 100644
--- a/dev-lisp/cl-pg/cl-pg-0.18.ebuild
+++ b/dev-lisp/cl-pg/cl-pg-0.18.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-pg/cl-pg-0.18.ebuild,v 1.1 2003/06/10 04:53:04 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-pg/cl-pg-0.18.ebuild,v 1.2 2003/10/16 08:07:49 mkennedy Exp $
inherit common-lisp
+DEB_PV=3
+
DESCRIPTION="Pg is a socket-level interface to the PostgreSQL object-relational Database for Common Lisp."
HOMEPAGE="http://www.chez.com/emarsden/downloads/
http://www.cliki.net/Pg
http://packages.debian.org/unstable/devel/cl-pg.html"
-SRC_URI="http://ftp.debian.org/debian/pool/main/c/cl-pg/${PN}_${PV}.orig.tar.gz"
+SRC_URI="http://ftp.debian.org/debian/pool/main/c/cl-pg/${PN}_${PV}.orig.tar.gz
+ http://ftp.debian.org/debian/pool/main/c/cl-pg/cl-pg_${PV}-${DEB_PV}.diff.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86"
@@ -20,7 +23,21 @@ CLPACKAGE=pg
S=${WORKDIR}/${P}.orig
+src_unpack() {
+ unpack ${A}
+ epatch cl-pg_${PV}-${DEB_PV}.diff
+}
+
src_install() {
common-lisp-install ${FILESDIR}/pg.asd *.lisp
common-lisp-system-symlink
+ do-debian-credits
+}
+
+pkg_preinst() {
+ rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true
+}
+
+pkg_postrm() {
+ rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true
}
diff --git a/dev-lisp/cl-pg/files/digest-cl-pg-0.18 b/dev-lisp/cl-pg/files/digest-cl-pg-0.18
index 3ee1a11ba7b2..f715ea34fcfd 100644
--- a/dev-lisp/cl-pg/files/digest-cl-pg-0.18
+++ b/dev-lisp/cl-pg/files/digest-cl-pg-0.18
@@ -1 +1,2 @@
MD5 cd1f5b9da209e97f52abd53cf44b1788 cl-pg_0.18.orig.tar.gz 15900
+MD5 79f5e47c67e85fe887008dceb37398b2 cl-pg_0.18-3.diff.gz 3018
diff --git a/dev-lisp/cl-pg/metadata.xml b/dev-lisp/cl-pg/metadata.xml
new file mode 100644
index 000000000000..f418045b09c8
--- /dev/null
+++ b/dev-lisp/cl-pg/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>