/[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.17 - (show annotations) (download)
Tue Aug 5 14:50:22 2003 UTC (17 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.16: +3 -4 lines
need eutils for epatch

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/app-arch/rpm2targz/rpm2targz-8.0.ebuild,v 1.16 2003/07/18 19:14:23 tester Exp $
4
5 DESCRIPTION="Convert a .rpm file to a .tar.gz archive"
6 HOMEPAGE="http://www.slackware.com/config/packages.php"
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
11 LICENSE="as-is"
12 SLOT="0"
13 KEYWORDS="x86 sparc ppc alpha hppa amd64"
14
15 DEPEND="virtual/glibc
16 sys-apps/cpio"
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 ${CC:-gcc} ${CFLAGS} -o rpmoffset rpmoffset.c || die
27 }
28
29 src_install() {
30 dobin rpmoffset rpm2targz
31 dodoc rpm2targz.README
32 }

  ViewVC Help
Powered by ViewVC 1.1.20