/[gentoo-x86]/app-arch/rpm2targz/rpm2targz-8.0.ebuild
Gentoo

Diff of /app-arch/rpm2targz/rpm2targz-8.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2002 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm2targz/Attic/rpm2targz-8.0.ebuild,v 1.7 2002/10/04 03:51:55 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm2targz/Attic/rpm2targz-8.0.ebuild,v 1.8 2002/10/17 22:32:26 vapier Exp $
4 4
5S=${WORKDIR}/${P} 5S=${WORKDIR}/${P}
6DESCRIPTION="Convert a .rpm file to a .tar.gz archive" 6DESCRIPTION="Convert a .rpm file to a .tar.gz archive"
7SRC_URI="ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpm2targz 7SRC_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 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" 9 ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpm2targz.README"
10HOMEPAGE="http://www.slackware.com/config/packages.php"
10 11
11SLOT="0" 12SLOT="0"
12LICENSE="as-is" 13LICENSE="as-is"
13KEYWORDS="x86 sparc sparc64 ppc" 14KEYWORDS="x86 sparc sparc64 ppc"
14 15
15DEPEND="virtual/glibc" 16DEPEND="virtual/glibc"
17RDEPEND="${DEPEND}"
16 18
17src_unpack() { 19src_unpack() {
18 cd ${WORKDIR} && mkdir ${P} 20 cd ${WORKDIR} && mkdir ${P}
19 cp ${DISTDIR}/rpm2targz ${S} 21 cp ${DISTDIR}/rpm2targz ${S}
20 cp ${DISTDIR}/rpm2targz.README ${S} 22 cp ${DISTDIR}/rpm2targz.README ${S}
23 25
24src_compile() { 26src_compile() {
25 gcc ${CFLAGS} -o rpmoffset rpmoffset.c || die 27 gcc ${CFLAGS} -o rpmoffset rpmoffset.c || die
26} 28}
27 29
28src_install () { 30src_install() {
29 dobin rpmoffset rpm2targz 31 dobin rpmoffset rpm2targz
30 dodoc rpm2targz.README 32 dodoc rpm2targz.README
31} 33}

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20