summaryrefslogtreecommitdiff
blob: 35f5d49c92eb11a002ed012c830fae63fb884541 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-pg/cl-pg-20060207.ebuild,v 1.1 2006/05/01 20:43:46 mkennedy Exp $

inherit common-lisp multilib

DESCRIPTION="A socket-level interface to the PostgreSQL ORDMS for Common Lisp"
HOMEPAGE="http://common-lisp.net/project/pg/
	http://www.cliki.net/Pg
	http://packages.debian.org/unstable/devel/cl-pg.html"
SRC_URI="mirror://gentoo/${PN}_${PV}.orig.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND="dev-lisp/common-lisp-controller
	virtual/commonlisp
	sys-libs/glibc"				# /usr/lib/libcrypt.so

CLPACKAGE=pg

S=${WORKDIR}/${P}.orig

src_unpack() {
	unpack ${A}
	sed -i 's,/usr/lib,'"/usr/$(get_libdir),g" ${S}/pg.asd ${S}/sysdep.lisp
}

src_install() {
	common-lisp-install *.{lisp,asd}
	common-lisp-system-symlink
	dodoc README NEWS CREDITS TODO ChangeLog
}