]> Pileus Git - ~andy/sunrise/commitdiff
app-laptop/toshset: Version bump, remove old, clean up, EAPI2fi it
authorMarkos Chandras <hwoarang@gentoo.org>
Wed, 10 Jun 2009 22:49:43 +0000 (22:49 +0000)
committerMarkos Chandras <hwoarang@gentoo.org>
Wed, 10 Jun 2009 22:49:43 +0000 (22:49 +0000)
svn path=/sunrise/; revision=8640

app-laptop/toshset/ChangeLog
app-laptop/toshset/Manifest
app-laptop/toshset/toshset-1.75.ebuild [moved from app-laptop/toshset/toshset-1.72.ebuild with 65% similarity]

index 5dd80bbec29a182375dafb6f6a9ed27216509889..c39a7028a93176b96024eaad0a4ff14d0a992c66 100644 (file)
@@ -1,7 +1,13 @@
 # ChangeLog for app-laptop/toshset
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*toshset-1.75 (10 Jun 2009)
+
+  10 Jun 2009; Markos Chandras <hwoarang@gentoo.org> -toshset-1.72.ebuild,
+  +toshset-1.75.ebuild:
+  Version bump, remove old, clean up, EAPI2fi it
+
   19 Jun 2007; Ali Polatel (hawking) <polatel@gmail.com>
   toshset-1.72.ebuild:
   added trailing slash to HOMEPAGE URI, cosmetics
index 6ac230d8215dc3f4f37dba2bea80e2fd813ac2d7..4afca95a4f5a6d5e8352dafb3b7ba0984ffe5c31 100644 (file)
@@ -1,4 +1,4 @@
-DIST toshset_1.72.orig.tar.gz 72589 RMD160 f3664de4376f40517a9a8da4f0968745cc9a2a6b SHA1 6fb7d7a01bd4dcf0c89fb1187ec1c94fdef9eb80 SHA256 50256949feed39892337ae335c433da8f39dfd2522474d473f8f14e3957e9b88
-EBUILD toshset-1.72.ebuild 630 RMD160 4dbe2b963e20dae40e27c42e509d22427a5aca4e SHA1 5a2327cad91bd47adcacbe8b0d147300b0bd3d42 SHA256 e3c5efc846b9feb220f751f7b0de29444ab1c02111a1ea06df7838c38e880e04
-MISC ChangeLog 473 RMD160 d22b40e58661248a94f9797af4d8ad541fb15c5a SHA1 38371f4ff051f71b9c6a6e69bc84b5ecf3a246f3 SHA256 dca17426e46b90e71463c17e987128608c51b189eeb7c6c438daad14dafa14e4
+DIST toshset-1.75.tgz 78926 RMD160 2fea1245495a358af3305e62571db016a4bd18ee SHA1 7ac0cf76a673f6eec56ef884eb80ae0d7d7260db SHA256 5ee6470ac11a7b9647e8d1cee0c017f9d35dc827983907dd8058db56a5db5fc8
+EBUILD toshset-1.75.ebuild 720 RMD160 70d688ece274743fc3cdc5dd4c38af900d384cd8 SHA1 437fa7ae6637a570c16fdeb63d3d93c34bd971d2 SHA256 c2825185319a26c1c9d37e4d5d08f34489ca47b5ef5308423a51e002cba2d9b9
+MISC ChangeLog 651 RMD160 76b9492b84bb6564494054271c27ca662eb3dc55 SHA1 01eebe052e0be5ecee8616abd558d430f300fa42 SHA256 4965b3cbbd4399ec8ffcbbb2654de580b35f4ae9a0023d528f10118abe9800d6
 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
similarity index 65%
rename from app-laptop/toshset/toshset-1.72.ebuild
rename to app-laptop/toshset/toshset-1.75.ebuild
index f2e2f0d7fd5f7bdab4db1449ec506961f2e1d6dd..f15ca85f72f0ee640ccb6416bd91d8fb0490072b 100644 (file)
@@ -1,24 +1,31 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
+EAPI="2"
+
+inherit eutils
+
 DESCRIPTION="Utility to modify HCI/SCI controls on Toshiba Laptops"
 HOMEPAGE="http://www.schwieters.org/toshset/"
-SRC_URI="mirror://debian/pool/main/t/${PN}/${PN}_${PV}.orig.tar.gz"
+SRC_URI="http://dev.gentooexperimental.org/~hwoarang/distfiles/${P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
 
 DEPEND=""
 RDEPEND=""
 
-src_unpack() {
-       unpack ${A}
+src_prepare() {
        sed -i 's/CFLAGS = -march=i486 \(-Wall @OS_CFLAGS@ @DEBUGFLAGS@\)/CFLAGS := \1 ${CFLAGS}/' "${S}/Makefile.in" || die "sed failed"
 }
 
+src_configure(){
+       econf "${myconf} $(use_enable debug)"
+}
+
 src_install() {
        emake DESTDIR="${D}" install || die "emake install failed"
        dodoc README