Lines 2-24
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/pyparted/pyparted-1.8.9.ebuild,v 1.2 2007/08/27 19:59:18 wolf31o2 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparted/pyparted-1.8.9.ebuild,v 1.2 2007/08/27 19:59:18 wolf31o2 Exp $ |
4 |
|
4 |
|
5 |
inherit flag-o-matic |
5 |
inherit flag-o-matic multilib |
6 |
|
6 |
|
7 |
DESCRIPTION="Python bindings for parted" |
7 |
DESCRIPTION="Python bindings for parted" |
8 |
HOMEPAGE="http://dcantrel.fedorapeople.org/pyparted/" |
8 |
HOMEPAGE="http://dcantrel.fedorapeople.org/pyparted/" |
9 |
SRC_URI="http://dcantrel.fedorapeople.org/pyparted/${P}.tar.bz2" |
9 |
SRC_URI="http://dcantrel.fedorapeople.org/pyparted/${P}.tar.bz2" |
10 |
LICENSE="GPL-2" |
10 |
LICENSE="GPL-2" |
11 |
SLOT="0" |
11 |
SLOT="0" |
12 |
KEYWORDS="~x86" |
12 |
KEYWORDS="~x86 ~amd64" |
13 |
DEPEND="sys-libs/ncurses" |
13 |
DEPEND="sys-libs/ncurses" |
14 |
IUSE="" |
14 |
IUSE="" |
15 |
|
15 |
|
16 |
# Needed to build... |
16 |
# Needed to build... |
17 |
DEPEND=">=dev-lang/python-2.4 |
17 |
DEPEND=">=dev-lang/python-2.4 |
18 |
>=sys-apps/parted-1.7.0 |
18 |
>=sys-apps/parted-1.7.0" |
19 |
>=app-arch/rpm-4" |
|
|
20 |
|
19 |
|
21 |
src_compile() { |
20 |
src_compile() { |
|
|
21 |
einfo "Fixing libdir" |
22 |
sed -i "s/\$(shell rpm --eval \"%{_libdir}\")/usr\/$(get_libdir)/" Makefile || die "cannot fix libdir" |
22 |
useq debug && append-flags -O -ggdb -DDEBUG |
23 |
useq debug && append-flags -O -ggdb -DDEBUG |
23 |
emake || die "make failed" |
24 |
emake || die "make failed" |
24 |
} |
25 |
} |