diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2001-11-14 17:21:55 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2001-11-14 17:21:55 +0000 |
commit | f4b34ca583b02f43962aa13fa7dc9384e2804cd8 (patch) | |
tree | c05f9e4df25200cdbcdf322b8794c285600dab41 /app-arch | |
parent | A=-fix, space->tab, fixed a problem causing it not to install when having agr... (diff) | |
download | historical-f4b34ca583b02f43962aa13fa7dc9384e2804cd8.tar.gz historical-f4b34ca583b02f43962aa13fa7dc9384e2804cd8.tar.bz2 historical-f4b34ca583b02f43962aa13fa7dc9384e2804cd8.zip |
rpm2targz -- useful Slackware program to convert .rpm files to .tar.gz archives.
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/rpm2targz/files/digest-rpm2targz-8.0 | 3 | ||||
-rw-r--r-- | app-arch/rpm2targz/rpm2targz-8.0.ebuild | 28 |
2 files changed, 31 insertions, 0 deletions
diff --git a/app-arch/rpm2targz/files/digest-rpm2targz-8.0 b/app-arch/rpm2targz/files/digest-rpm2targz-8.0 new file mode 100644 index 000000000000..585c0d7906f6 --- /dev/null +++ b/app-arch/rpm2targz/files/digest-rpm2targz-8.0 @@ -0,0 +1,3 @@ +MD5 518584109e8c7d1e13a01b03eef6d489 rpm2targz 4096 +MD5 c708ffe91a1717631f5581f102e756dd rpm2targz.README 4096 +MD5 4e111f011322ee73207ef14f09eef763 rpmoffset.c 4096 diff --git a/app-arch/rpm2targz/rpm2targz-8.0.ebuild b/app-arch/rpm2targz/rpm2targz-8.0.ebuild new file mode 100644 index 000000000000..44be1d2515cf --- /dev/null +++ b/app-arch/rpm2targz/rpm2targz-8.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Grant Goodyear <g2boojum@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm2targz/rpm2targz-8.0.ebuild,v 1.1 2001/11/14 17:21:55 g2boojum Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Convert a .rpm file to a .tar.gz archive" +SRC_URI="ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpm2targz + ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpmoffset.c + ftp://ftp.slackware.com/pub/slackware/slackware-${PV}/source/a/bin/rpm2targz.README" + +DEPEND="virtual/glibc" + +src_unpack() { + cd ${WORKDIR} && mkdir ${P} + cp ${DISTDIR}/rpm2targz ${S} + cp ${DISTDIR}/rpm2targz.README ${S} + cp ${DISTDIR}/rpmoffset.c ${S} +} + +src_compile() { + gcc ${CFLAGS} -o rpmoffset rpmoffset.c || die +} + +src_install () { + dobin rpmoffset rpm2targz + dodoc rpm2targz.README +} |