Lines 2-7
Link Here
|
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-python/pydb/pydb-1.26.ebuild,v 1.2 2009/04/18 21:27:42 patrick Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pydb/pydb-1.26.ebuild,v 1.2 2009/04/18 21:27:42 patrick Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI=3 |
6 |
|
7 |
inherit elisp-common |
8 |
|
5 |
DESCRIPTION="Extended python debugger" |
9 |
DESCRIPTION="Extended python debugger" |
6 |
HOMEPAGE="http://bashdb.sourceforge.net/pydb/" |
10 |
HOMEPAGE="http://bashdb.sourceforge.net/pydb/" |
7 |
SRC_URI="mirror://sourceforge/bashdb/${P}.tar.bz2" |
11 |
SRC_URI="mirror://sourceforge/bashdb/${P}.tar.bz2" |
Lines 8-25
Link Here
|
8 |
LICENSE="GPL-3" |
13 |
LICENSE="GPL-3" |
9 |
SLOT="0" |
14 |
SLOT="0" |
10 |
KEYWORDS="~amd64 ~x86" |
15 |
KEYWORDS="~amd64 ~x86" |
11 |
|
16 |
IUSE="emacs" |
12 |
# emacs support could be made optional with some extra work |
|
|
13 |
# sorry, I was too lazy |
14 |
IUSE="" |
15 |
|
17 |
|
16 |
DEPEND=">=dev-lang/python-2.4.0 |
18 |
DEPEND=">=dev-lang/python-2.4.0 |
17 |
>=app-editors/emacs-22.0" |
19 |
virtual/emacs" |
|
|
20 |
RDEPEND="${DEPEND}" |
18 |
|
21 |
|
19 |
# This package uses not distutils but the usual |
22 |
# This package uses not distutils but the usual |
20 |
# ./configure; make; make install |
23 |
# ./configure; make; make install |
21 |
# The default src_compile is OK |
24 |
# The default src_compile is OK |
22 |
|
25 |
|
|
|
26 |
src_configure() { |
27 |
econf --with-lispdir="${SITELISP}/${PN}" \ |
28 |
EMACS="$(use emacs && echo "${EMACS}" || echo no)" |
29 |
} |
30 |
|
23 |
src_install() { |
31 |
src_install() { |
24 |
emake DESTDIR="${D}" install || die "emake install failed" |
32 |
emake DESTDIR="${D}" install || die "emake install failed" |
25 |
dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die "dodoc failed" |
33 |
dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die "dodoc failed" |