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

Collapse All | Expand All

(-)rpm2targz-9.0.0.4g.ebuild (-4 / +10 lines)
Lines 2-8 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/app-arch/rpm2targz/rpm2targz-9.0.0.4g.ebuild,v 1.8 2011/03/01 00:38:20 ranger Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm2targz/rpm2targz-9.0.0.4g.ebuild,v 1.8 2011/03/01 00:38:20 ranger Exp $
4
4
5
inherit toolchain-funcs
5
EAPI="4"
6
7
inherit eutils toolchain-funcs
6
8
7
DESCRIPTION="Convert a .rpm file to a .tar.gz archive"
9
DESCRIPTION="Convert a .rpm file to a .tar.gz archive"
8
HOMEPAGE="http://www.slackware.com/config/packages.php"
10
HOMEPAGE="http://www.slackware.com/config/packages.php"
Lines 10-26 Link Here
10
12
11
LICENSE="as-is"
13
LICENSE="as-is"
12
SLOT="0"
14
SLOT="0"
13
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
15
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
14
IUSE=""
16
IUSE=""
15
17
16
RDEPEND="app-arch/cpio"
18
RDEPEND="app-arch/cpio"
17
DEPEND="app-arch/xz-utils"
19
DEPEND="app-arch/xz-utils"
18
20
21
src_prepare() {
22
	epatch "${FILESDIR}"/${P}-memmove.patch
23
}
24
19
src_compile() {
25
src_compile() {
20
	emake CC="$(tc-getCC)" || die
26
	emake CC="$(tc-getCC)"
21
}
27
}
22
28
23
src_install() {
29
src_install() {
24
	emake install DESTDIR="${D}" || die
30
	emake install DESTDIR="${D}" prefix="${EPREFIX}/usr"
25
	dodoc *.README*
31
	dodoc *.README*
26
}
32
}

Return to bug 397835