/[gentoo-x86]/app-arch/rpm2targz/rpm2targz-9.0.ebuild
Gentoo

Contents of /app-arch/rpm2targz/rpm2targz-9.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Tue May 17 10:33:31 2005 UTC (15 years, 2 months ago) by liquidx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
gcc.eclass -> toolchain-funcs.eclass (#92745)
(Portage version: 2.0.51.21-r1)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/rpm2targz/rpm2targz-9.0.ebuild,v 1.11 2005/01/01 11:57:15 eradicator Exp $
4
5 inherit eutils gcc
6
7 DESCRIPTION="Convert a .rpm file to a .tar.gz archive"
8 HOMEPAGE="http://www.slackware.com/config/packages.php"
9 SRC_URI="mirror://gentoo/${P}.tar.gz"
10
11 LICENSE="as-is"
12 SLOT="0"
13 KEYWORDS="x86 ppc ~sparc ~alpha ~hppa"
14 IUSE=""
15
16 # NOTE: rpm2targz autodetects rpm2cpio at runtime, and uses it if available,
17 # so we don't explicitly set it as a dependency.
18 DEPEND="virtual/libc
19 app-arch/cpio
20 sys-apps/file"
21
22 S=${WORKDIR}
23
24 src_unpack() {
25 unpack ${A}
26 cd ${S}; epatch ${FILESDIR}/${P}-gentoo.patch
27 }
28
29 src_compile() {
30 $(gcc-getCC) ${CFLAGS} -o rpmoffset rpmoffset.c || die
31 }
32
33 src_install() {
34 dobin rpmoffset rpm2targz || die
35 dodoc rpm2targz.README
36 }

  ViewVC Help
Powered by ViewVC 1.1.20