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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.23 - (hide annotations) (download)
Sat Jan 1 11:57:15 2005 UTC (15 years, 8 months ago) by eradicator
Branch: MAIN
Changes since 1.22: +2 -2 lines
Updated Copyright dates to 2005.

1 eradicator 1.23 # Copyright 1999-2005 Gentoo Foundation
2 vapier 1.7 # Distributed under the terms of the GNU General Public License v2
3 eradicator 1.23 # $Header: /var/cvsroot/gentoo-x86/app-arch/rpm2targz/rpm2targz-8.0.ebuild,v 1.22 2004/06/25 23:54:36 vapier Exp $
4 vapier 1.22
5     inherit gcc
6 g2boojum 1.1
7     DESCRIPTION="Convert a .rpm file to a .tar.gz archive"
8 vapier 1.17 HOMEPAGE="http://www.slackware.com/config/packages.php"
9 g2boojum 1.1 SRC_URI="ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpm2targz
10     ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpmoffset.c
11     ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpm2targz.README"
12 seemant 1.4
13 vapier 1.17 LICENSE="as-is"
14 drobbins 1.3 SLOT="0"
15 vapier 1.22 KEYWORDS="x86 ppc sparc alpha hppa amd64"
16 kloeri 1.20 IUSE=""
17 g2boojum 1.1
18 vapier 1.22 DEPEND="virtual/libc
19 seemant 1.18 app-arch/cpio"
20 g2boojum 1.1
21     src_unpack() {
22     cd ${WORKDIR} && mkdir ${P}
23     cp ${DISTDIR}/rpm2targz ${S}
24     cp ${DISTDIR}/rpm2targz.README ${S}
25     cp ${DISTDIR}/rpmoffset.c ${S}
26     }
27    
28     src_compile() {
29 vapier 1.22 $(gcc-getCC) ${CFLAGS} -o rpmoffset rpmoffset.c || die
30 g2boojum 1.1 }
31    
32 vapier 1.8 src_install() {
33 vapier 1.22 dobin rpmoffset rpm2targz || die
34 g2boojum 1.1 dodoc rpm2targz.README
35     }

  ViewVC Help
Powered by ViewVC 1.1.20