Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 239823 | Differences between
and this patch

Collapse All | Expand All

(-)gauche-cdb-0.3.1.ebuild (-19 / +19 lines)
Lines 1-10 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2008 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild,v 1.9 2009/01/13 13:48:41 hattya Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-cdb/gauche-cdb-0.3.1.ebuild,v 1.8 2008/06/19 15:24:04 hattya Exp $
4
4
5
inherit autotools eutils
5
inherit autotools eutils flag-o-matic
6
7
IUSE=""
8
6
9
MY_P="${P/g/G}"
7
MY_P="${P/g/G}"
10
8
Lines 13-36 Link Here
13
SRC_URI="mirror://sourceforge.jp/gauche/8407/${MY_P}.tar.gz"
11
SRC_URI="mirror://sourceforge.jp/gauche/8407/${MY_P}.tar.gz"
14
12
15
LICENSE="BSD"
13
LICENSE="BSD"
16
KEYWORDS="ia64 x86"
17
SLOT="0"
14
SLOT="0"
18
S="${WORKDIR}/${MY_P}"
15
KEYWORDS="~x86"
16
IUSE=""
19
17
20
DEPEND=">=dev-scheme/gauche-0.7.4
18
DEPEND="\
19
	>=dev-scheme/gauche-0.8
21
	dev-db/tinycdb"
20
	dev-db/tinycdb"
22
21
23
src_unpack() {
22
RDEPEND="${DEPEND}"
23
24
S="${WORKDIR}/${MY_P}"
24
25
26
pkg_setup() {
27
	append-flags -fPIC
28
}
29
30
src_unpack() {
25
	unpack ${A}
31
	unpack ${A}
26
	cd "${S}"
32
	cd "${S}"
27
33
28
	if has_version '>=dev-scheme/gauche-0.8'; then
34
	epatch "${FILESDIR}"/${P}-gpd.diff
29
		epatch "${FILESDIR}"/${P}-gpd.diff
30
	fi
31
32
	eautoreconf
33
35
36
	eautoreconf || die
34
}
37
}
35
38
36
src_install() {
39
src_install() {
Lines 38-46 Link Here
38
	emake DESTDIR="${D}" install || die
40
	emake DESTDIR="${D}" install || die
39
	dodoc README
41
	dodoc README
40
42
41
	if has_version '>=dev-scheme/gauche-0.8'; then
43
	insinto "$(gauche-config --sitelibdir)/.packages"
42
		insinto "$(gauche-config --sitelibdir)/.packages"
44
	doins ${MY_P%-*}.gpd
43
		doins ${MY_P%-*}.gpd
44
	fi
45
46
}
45
}

Return to bug 239823