1 |
Hi All, |
2 |
|
3 |
There are a number of packages that require us extracting directly from |
4 |
RPMs or Source RPMs. As a result, a number of ebuilds depend on |
5 |
rpm2targz (a slackware creation) for extraction and have their own |
6 |
src_unpack routine. |
7 |
|
8 |
To automate the process a little better, I've written an rpm.eclass |
9 |
which is a slot in replacement for src_unpack(). It automatically |
10 |
extracts rpm packages and for source rpms, it also extracts inner |
11 |
tarballs. Internally, it still uses rpm2targz but is a little smarter |
12 |
about cleaning up after itself and handles multiple sources properly. |
13 |
|
14 |
This is now in portage. For an example of how it can used, look at |
15 |
app-misc/jot or x11-themes/redhat-artwork. |
16 |
|
17 |
Cheers, |
18 |
-- |
19 |
Alastair 'liquidx' Tse |
20 |
>> Gentoo Developer |
21 |
>> http://www.liquidx.net/ | http://cvs.gentoo.org/~liquidx/ |
22 |
>> GPG Key : http://cvs.gentoo.org/~liquidx/liquidx_gentoo_org.asc |
23 |
>> FingerPrint : 579A 9B0E 43E8 0E40 EE93 BB1C 38CE 1C7B 3907 14F6 |