/[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.4 - (hide annotations) (download)
Thu Jul 25 14:47:35 2002 UTC (18 years, 2 months ago) by seemant
Branch: MAIN
Changes since 1.3: +5 -2 lines
repoman'd

1 seemant 1.4 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 g2boojum 1.1 # Distributed under the terms of the GNU General Public License, v2 or later
3 seemant 1.4 # $Header: /home/cvsroot/gentoo-x86/app-arch/rpm2targz/rpm2targz-8.0.ebuild,v 1.3 2002/07/17 20:44:57 drobbins Exp $
4 g2boojum 1.1
5     S=${WORKDIR}/${P}
6     DESCRIPTION="Convert a .rpm file to a .tar.gz archive"
7     SRC_URI="ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpm2targz
8     ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpmoffset.c
9     ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpm2targz.README"
10 seemant 1.4
11 drobbins 1.3 SLOT="0"
12 seemant 1.4 LICENSE="as-is"
13     KEYWORDS="x86"
14 g2boojum 1.1
15     DEPEND="virtual/glibc"
16    
17     src_unpack() {
18     cd ${WORKDIR} && mkdir ${P}
19     cp ${DISTDIR}/rpm2targz ${S}
20     cp ${DISTDIR}/rpm2targz.README ${S}
21     cp ${DISTDIR}/rpmoffset.c ${S}
22     }
23    
24     src_compile() {
25     gcc ${CFLAGS} -o rpmoffset rpmoffset.c || die
26     }
27    
28     src_install () {
29     dobin rpmoffset rpm2targz
30     dodoc rpm2targz.README
31     }

  ViewVC Help
Powered by ViewVC 1.1.20