/[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.20 - (hide annotations) (download)
Sun Jun 13 12:39:11 2004 UTC (16 years, 3 months ago) by kloeri
Branch: MAIN
Changes since 1.19: +2 -1 lines
QA - Add IUSE.

1 mr_bones_ 1.19 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 vapier 1.7 # Distributed under the terms of the GNU General Public License v2
3 kloeri 1.20 # $Header: /home/cvsroot/gentoo-x86/app-arch/rpm2targz/rpm2targz-8.0.ebuild,v 1.19 2004/02/22 05:49:19 mr_bones_ Exp $
4 g2boojum 1.1
5     DESCRIPTION="Convert a .rpm file to a .tar.gz archive"
6 vapier 1.17 HOMEPAGE="http://www.slackware.com/config/packages.php"
7 g2boojum 1.1 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 vapier 1.17 LICENSE="as-is"
12 drobbins 1.3 SLOT="0"
13 tester 1.16 KEYWORDS="x86 sparc ppc alpha hppa amd64"
14 kloeri 1.20 IUSE=""
15 g2boojum 1.1
16 avenj 1.12 DEPEND="virtual/glibc
17 seemant 1.18 app-arch/cpio"
18 g2boojum 1.1
19     src_unpack() {
20     cd ${WORKDIR} && mkdir ${P}
21     cp ${DISTDIR}/rpm2targz ${S}
22     cp ${DISTDIR}/rpm2targz.README ${S}
23     cp ${DISTDIR}/rpmoffset.c ${S}
24     }
25    
26     src_compile() {
27 taviso 1.15 ${CC:-gcc} ${CFLAGS} -o rpmoffset rpmoffset.c || die
28 g2boojum 1.1 }
29    
30 vapier 1.8 src_install() {
31 g2boojum 1.1 dobin rpmoffset rpm2targz
32     dodoc rpm2targz.README
33     }

  ViewVC Help
Powered by ViewVC 1.1.20