From 5e20632283cc5168398495dfa951f8bc9a881570 Mon Sep 17 00:00:00 2001 From: "Santiago M. Mola" Date: Sun, 3 Jun 2007 13:20:41 +0000 Subject: app-emulation/qemulator: Use {multilib,python}.eclass svn path=/sunrise/; revision=3803 --- app-emulation/qemulator/ChangeLog | 4 ++++ app-emulation/qemulator/Manifest | 4 ++-- app-emulation/qemulator/qemulator-0.4.4.ebuild | 16 +++++++++++++--- 3 files changed, 19 insertions(+), 5 deletions(-) (limited to 'app-emulation') diff --git a/app-emulation/qemulator/ChangeLog b/app-emulation/qemulator/ChangeLog index 53486877c..b98e5a405 100644 --- a/app-emulation/qemulator/ChangeLog +++ b/app-emulation/qemulator/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 03 Jun 2007; Santiago M. Mola + qemulator-0.4.4.ebuild: + Use {multilib,python}.eclass + 04 Mar 2007; Santiago M. Mola +qemulator-0.4.4.ebuild, +files/qemulator-0.4.4-basedir.patch, +metadata.xml: diff --git a/app-emulation/qemulator/Manifest b/app-emulation/qemulator/Manifest index 2db3b1eb0..67e22e1c6 100644 --- a/app-emulation/qemulator/Manifest +++ b/app-emulation/qemulator/Manifest @@ -1,5 +1,5 @@ AUX qemulator-0.4.4-basedir.patch 409 RMD160 fc9e2f33e82fcf45497922cc7e57dae22add37e0 SHA1 ea0251ea9a111f66b43d86cfe2a5d3cbff805d93 SHA256 607739458cf75a6e99fc166c18375f083610943a06cee32d8ef072b69a4f493a DIST dodownload.php?file=Qemulator-0.4.4.tar.gz 667896 RMD160 7505cc08be0fbada55809eea3a8a139ab04d556f SHA1 4913a6fc9ff39ccb56c72ddfb6fd5bea9b6ce80b SHA256 3ee68ec89300789702706a91903f999788110318ade0e29e1ab0eb18a549b19f -EBUILD qemulator-0.4.4.ebuild 701 RMD160 67f3e41c79d27443d60e60c7c35a47707740fd08 SHA1 bb355fac43082a25fafa012065b951c35094a5d5 SHA256 16e1f82a5a38b02b314e167094d04b3cc07bec41c76b24cd44492f2301cddfec -MISC ChangeLog 342 RMD160 ab71ed5970a4c43f4b0c11104c2323e30c027b4a SHA1 7a7816a6fe44f16fee867815f3de85661b27d910 SHA256 a4025646fc158321c4464da40ab708fbed4e3617f5e457b234f8247831cbed20 +EBUILD qemulator-0.4.4.ebuild 920 RMD160 7828d1462625aaa459cb431dd01a3f5c55df630f SHA1 0d5aadd50d3b9421734026dd3f6df004a145ad8e SHA256 12c0a04f32c97baed4c839ab6454dbb3ef3451506601fcc5697dd7e51437e3bf +MISC ChangeLog 454 RMD160 1db986857eb49dc05150073378eac5ac9d8f9af8 SHA1 a04e545cc528d21226a90812178520a3337befd5 SHA256 7b2a79e8e16116dfc59ef95a37eae3293978c37d1e76da260abfcd398ddb18c6 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/app-emulation/qemulator/qemulator-0.4.4.ebuild b/app-emulation/qemulator/qemulator-0.4.4.ebuild index 182442c0f..53dea831a 100644 --- a/app-emulation/qemulator/qemulator-0.4.4.ebuild +++ b/app-emulation/qemulator/qemulator-0.4.4.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit eutils +inherit eutils multilib python MY_PN="${PN/q/Q}" MY_P="${MY_PN}-${PV}" @@ -31,7 +31,17 @@ src_unpack(){ src_install() { dobin usr/local/bin/* - insinto /usr - doins -r usr/local/{lib,share} + insinto /usr/$(get_libdir) + doins -r usr/local/lib/* + insinto /usr/share + doins -r usr/local/share/* dodoc TRANSLATION README } + +pkg_postinst() { + python_mod_optimize "${ROOT}/usr/$(get_libdir)/${PN}" +} + +pkg_postrm() { + python_mod_cleanup "${ROOT}/usr/$(get_libdir)/${PN}" +} -- cgit v1.2.3-65-gdbad