/[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.3 - (hide annotations) (download)
Wed Jul 17 20:44:57 2002 UTC (18 years, 2 months ago) by drobbins
Branch: MAIN
Changes since 1.2: +2 -1 lines
Added SLOT

1 g2boojum 1.1 # Copyright 1999-2001 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License, v2 or later
3 drobbins 1.3 # $Header: /home/cvsroot/gentoo-x86/app-arch/rpm2targz/rpm2targz-8.0.ebuild,v 1.2 2002/07/11 06:30:10 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 drobbins 1.3 SLOT="0"
11 g2boojum 1.1
12     DEPEND="virtual/glibc"
13    
14     src_unpack() {
15     cd ${WORKDIR} && mkdir ${P}
16     cp ${DISTDIR}/rpm2targz ${S}
17     cp ${DISTDIR}/rpm2targz.README ${S}
18     cp ${DISTDIR}/rpmoffset.c ${S}
19     }
20    
21     src_compile() {
22     gcc ${CFLAGS} -o rpmoffset rpmoffset.c || die
23     }
24    
25     src_install () {
26     dobin rpmoffset rpm2targz
27     dodoc rpm2targz.README
28     }

  ViewVC Help
Powered by ViewVC 1.1.20