/[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.16 - (show annotations) (download)
Fri Jul 18 19:14:23 2003 UTC (17 years, 2 months ago) by tester
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.15: +2 -2 lines
Adding amd64 to a bunch of stuff

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.15 2003/05/21 16:17:33 taviso Exp $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="Convert a .rpm file to a .tar.gz archive"
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 HOMEPAGE="http://www.slackware.com/config/packages.php"
11
12 SLOT="0"
13 LICENSE="as-is"
14 KEYWORDS="x86 sparc ppc alpha hppa amd64"
15
16 DEPEND="virtual/glibc
17 sys-apps/cpio"
18
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 ${CC:-gcc} ${CFLAGS} -o rpmoffset rpmoffset.c || die
28 }
29
30 src_install() {
31 dobin rpmoffset rpm2targz
32 dodoc rpm2targz.README
33 }

  ViewVC Help
Powered by ViewVC 1.1.20