Gentoo Archives: gentoo-dev

From: Alastair Tse <liquidx@g.o>
To: gentoo-dev@g.o
Subject: [gentoo-dev] new rpm.eclass
Date: Sat, 21 Jun 2003 14:30:40
Hi All,

There are a number of packages that require us extracting directly from
RPMs or Source RPMs. As a result, a number of ebuilds depend on
rpm2targz (a slackware creation) for extraction and have their own
src_unpack routine.

To automate the process a little better, I've written an rpm.eclass
which is a slot in replacement for src_unpack(). It automatically
extracts rpm packages and for source rpms, it also extracts inner
tarballs. Internally, it still uses rpm2targz but is a little smarter
about cleaning up after itself and handles multiple sources properly.

This is now in portage. For an example of how it can used, look at
app-misc/jot or x11-themes/redhat-artwork.

Alastair 'liquidx' Tse
 >> Gentoo Developer 
 >> |
 >> GPG Key :
 >> FingerPrint : 579A 9B0E 43E8 0E40 EE93  BB1C 38CE 1C7B 3907 14F6


File name MIME type
signature.asc application/pgp-signature


Subject Author
Re: [gentoo-dev] new rpm.eclass Georgi Georgiev <chutz@×××.net>