/[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.10 - (hide annotations) (download)
Mon Dec 9 04:17:37 2002 UTC (17 years, 9 months ago) by manson
Branch: MAIN
Changes since 1.9: +2 -2 lines
12-08-02 Keyword remove sparc64 Rodney Rees manson@gentoo.org

1 seemant 1.4 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 vapier 1.7 # Distributed under the terms of the GNU General Public License v2
3 manson 1.10 # $Header: /home/cvsroot/gentoo-x86/app-arch/rpm2targz/rpm2targz-8.0.ebuild,v 1.9 2002/10/20 18:36:20 vapier 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 vapier 1.8 HOMEPAGE="http://www.slackware.com/config/packages.php"
11 seemant 1.4
12 drobbins 1.3 SLOT="0"
13 seemant 1.4 LICENSE="as-is"
14 manson 1.10 KEYWORDS="x86 sparc ppc"
15 g2boojum 1.1
16     DEPEND="virtual/glibc"
17    
18     src_unpack() {
19     cd ${WORKDIR} && mkdir ${P}
20     cp ${DISTDIR}/rpm2targz ${S}
21     cp ${DISTDIR}/rpm2targz.README ${S}
22     cp ${DISTDIR}/rpmoffset.c ${S}
23     }
24    
25     src_compile() {
26     gcc ${CFLAGS} -o rpmoffset rpmoffset.c || die
27     }
28    
29 vapier 1.8 src_install() {
30 g2boojum 1.1 dobin rpmoffset rpm2targz
31     dodoc rpm2targz.README
32     }

  ViewVC Help
Powered by ViewVC 1.1.20