From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10024 invoked by uid 1002); 21 Jun 2003 14:30:40 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 15592 invoked from network); 21 Jun 2003 14:30:40 -0000 From: Alastair Tse To: gentoo-dev@gentoo.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-PsfP1LJNcB82sUjp/V1R" Message-Id: <1056205815.8266.20.camel@mcvaio.liquidx.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 21 Jun 2003 15:30:19 +0100 X-Cam-ScannerAdmin: mail-scanner-support@ucs.cam.ac.uk X-Cam-AntiVirus: Not scanned X-Cam-SpamDetails: Subject: [gentoo-dev] new rpm.eclass X-Archives-Salt: 2533c792-8bc6-4d51-8ca5-08ddea825a8e X-Archives-Hash: 004e851987f65e891d960808d2db26cb --=-PsfP1LJNcB82sUjp/V1R Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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. Cheers, --=20 Alastair 'liquidx' Tse >> Gentoo Developer=20 >> http://www.liquidx.net/ | http://cvs.gentoo.org/~liquidx/ >> GPG Key : http://cvs.gentoo.org/~liquidx/liquidx_gentoo_org.asc >> FingerPrint : 579A 9B0E 43E8 0E40 EE93 BB1C 38CE 1C7B 3907 14F6 --=-PsfP1LJNcB82sUjp/V1R Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA+9Gv0OM4cezkHFPYRAjUUAKCgRA9XWFMF9x0KsrxIUDEV5YHXSwCdEtx3 tkFoWWp/9xwq9c/bZpuEPkc= =thL3 -----END PGP SIGNATURE----- --=-PsfP1LJNcB82sUjp/V1R--