/[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.1 - (show annotations) (download)
Wed Nov 14 17:21:55 2001 UTC (18 years, 10 months ago) by g2boojum
Branch: MAIN
rpm2targz -- useful Slackware program to convert .rpm files to .tar.gz archives.

1 # Copyright 1999-2001 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Grant Goodyear <g2boojum@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/skel.build,v 1.10 2001/11/03 17:27:49 agriffis Exp $
5
6 S=${WORKDIR}/${P}
7 DESCRIPTION="Convert a .rpm file to a .tar.gz archive"
8 SRC_URI="ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpm2targz
9 ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpmoffset.c
10 ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpm2targz.README"
11
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