remove rpm unneeded dep

git-svn-id: http://svn.sabayonlinux.org/overlay@1578 d7aec97c-591d-0410-af39-a8856400b30a
This commit is contained in:
(no author)
2007-09-17 09:04:45 +00:00
parent d4978b8ba4
commit e67b88a764
3 changed files with 41 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
DIST pyparted-1.8.9.tar.bz2 19241 RMD160 1883f36c64413b7867eb1d1498ed45437bb7c5ce SHA1 389eb99e4504d827baee3a4e16ebf63c8c159825 SHA256 c33fe6365f0372bf7173d727de9acfd9d952bd1fb205bb03faedd324f5946e93
EBUILD pyparted-1.8.9.ebuild 898 RMD160 8bf52c049e594f302ad4bdc0e04088ddc24dfaa9 SHA1 cc7b587bf17005eeda9d2d29b7c3ee2b80c77fc2 SHA256 1a4092665345097980b8a88da302d50545b8f08c153e292f0408b022ee584b31
MD5 7fd904fec2c4c9ee3f1b0e0a17a9c452 pyparted-1.8.9.ebuild 898
RMD160 8bf52c049e594f302ad4bdc0e04088ddc24dfaa9 pyparted-1.8.9.ebuild 898
SHA256 1a4092665345097980b8a88da302d50545b8f08c153e292f0408b022ee584b31 pyparted-1.8.9.ebuild 898
MD5 f92cde91f0e7a65512b4848a762d94d5 files/digest-pyparted-1.8.9 244
RMD160 85c7706e9afac91dd90849af0c9454012ffd829e files/digest-pyparted-1.8.9 244
SHA256 4e9280b457664d9ee111c7fe3ab6c5925f47f9f644ba6691424b5d6d8e598d52 files/digest-pyparted-1.8.9 244
@@ -0,0 +1,3 @@
MD5 24d60b03142abd7cf1ba4d069bc9db3e pyparted-1.8.9.tar.bz2 19241
RMD160 1883f36c64413b7867eb1d1498ed45437bb7c5ce pyparted-1.8.9.tar.bz2 19241
SHA256 c33fe6365f0372bf7173d727de9acfd9d952bd1fb205bb03faedd324f5946e93 pyparted-1.8.9.tar.bz2 19241
+30
View File
@@ -0,0 +1,30 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparted/pyparted-1.8.9.ebuild,v 1.2 2007/08/27 19:59:18 wolf31o2 Exp $
inherit flag-o-matic multilib
DESCRIPTION="Python bindings for parted"
HOMEPAGE="http://dcantrel.fedorapeople.org/pyparted/"
SRC_URI="http://dcantrel.fedorapeople.org/pyparted/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
DEPEND="sys-libs/ncurses"
IUSE=""
# Needed to build...
DEPEND=">=dev-lang/python-2.4
>=sys-apps/parted-1.7.0"
src_compile() {
einfo "Fixing libdir"
sed -i "s/\$(shell rpm --eval \"%{_libdir}\")/usr\/$(get_libdir)/" Makefile || die "cannot fix libdir"
useq debug && append-flags -O -ggdb -DDEBUG
emake || die "make failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc README ChangeLog
}