summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2008-01-06 20:30:15 +0000
committerSven Wegener <swegener@gentoo.org>2008-01-06 20:30:15 +0000
commit52a1c5eb5c6c8b32d288b881330e9504b47c2103 (patch)
treef3c9ab59ef7aa7929f7007df06a14bd0ad0a382e /x11-plugins/wmmsens
parentinitial ebuild (diff)
downloadhistorical-52a1c5eb5c6c8b32d288b881330e9504b47c2103.tar.gz
historical-52a1c5eb5c6c8b32d288b881330e9504b47c2103.tar.bz2
historical-52a1c5eb5c6c8b32d288b881330e9504b47c2103.zip
Add cross-compile support.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'x11-plugins/wmmsens')
-rw-r--r--x11-plugins/wmmsens/ChangeLog7
-rw-r--r--x11-plugins/wmmsens/Manifest16
-rw-r--r--x11-plugins/wmmsens/wmmsens-0.29.6.ebuild28
3 files changed, 27 insertions, 24 deletions
diff --git a/x11-plugins/wmmsens/ChangeLog b/x11-plugins/wmmsens/ChangeLog
index 38f6acb19d3c..9684a538eb10 100644
--- a/x11-plugins/wmmsens/ChangeLog
+++ b/x11-plugins/wmmsens/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-plugins/wmmsens
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmsens/ChangeLog,v 1.9 2007/07/22 04:46:54 dberkholz Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmsens/ChangeLog,v 1.10 2008/01/06 20:30:15 swegener Exp $
+
+ 06 Jan 2008; Sven Wegener <swegener@gentoo.org> wmmsens-0.29.6.ebuild:
+ Add cross-compile support.
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>;
wmmsens-0.29.6.ebuild:
diff --git a/x11-plugins/wmmsens/Manifest b/x11-plugins/wmmsens/Manifest
index f7daacb50d14..6c52bb7bc1db 100644
--- a/x11-plugins/wmmsens/Manifest
+++ b/x11-plugins/wmmsens/Manifest
@@ -1,12 +1,12 @@
DIST wmmsens-0.29.6.tar.gz 30817 RMD160 99f7d3f3411939b0ae21c2a738a6f5def12ab076 SHA1 f1583a0240dbbe73868433b17dc8f35ac726b8c5 SHA256 12369824e64cea36dfb0a7fdce3319b6ed8ee25f07181f3a44c2c9d928a6574c
-EBUILD wmmsens-0.29.6.ebuild 977 RMD160 ee5e04bf14d30487a45ac483365b4ed9165df338 SHA1 359f7e79753e0c7ae29cff9a9785bd848bd7ac98 SHA256 401627075ea267c71ddb75d3be19034a6b05df9d9c76ca81dc5e32b1fcf4852d
-MD5 41e819431cb3292e5e3fe33158844d06 wmmsens-0.29.6.ebuild 977
-RMD160 ee5e04bf14d30487a45ac483365b4ed9165df338 wmmsens-0.29.6.ebuild 977
-SHA256 401627075ea267c71ddb75d3be19034a6b05df9d9c76ca81dc5e32b1fcf4852d wmmsens-0.29.6.ebuild 977
-MISC ChangeLog 1098 RMD160 9efc8953cb7d588258de17d20a71a5c1b890201a SHA1 9cdea4b4564e7c05f5fad4e7aa5052fb6826811c SHA256 b13bc43ebde7c5e775a2ee7050d53f37f7a6865fe39142012c739333c7c3d707
-MD5 f9b7826cea52fcc45911c7bced0d6329 ChangeLog 1098
-RMD160 9efc8953cb7d588258de17d20a71a5c1b890201a ChangeLog 1098
-SHA256 b13bc43ebde7c5e775a2ee7050d53f37f7a6865fe39142012c739333c7c3d707 ChangeLog 1098
+EBUILD wmmsens-0.29.6.ebuild 997 RMD160 6acbfe2f6e41853ade9b39117ddd29021ea2ceb0 SHA1 084acea77742d2dce73be51ae76b1222b2f85278 SHA256 b8822879b13c773f4a467e22b80263d42d498c0e5a31cf549671c501e9e7e220
+MD5 c5b03ce39437e0b598ced45e55035603 wmmsens-0.29.6.ebuild 997
+RMD160 6acbfe2f6e41853ade9b39117ddd29021ea2ceb0 wmmsens-0.29.6.ebuild 997
+SHA256 b8822879b13c773f4a467e22b80263d42d498c0e5a31cf549671c501e9e7e220 wmmsens-0.29.6.ebuild 997
+MISC ChangeLog 1201 RMD160 76992d2444d28965ad163e1da0ee6c8dd78743d1 SHA1 4dc15430432bb86f84b4dea65d9c6e7b85e326df SHA256 9761fb878b4d847883b40d50564a94b959b99846a7a9cb00fa925ae12d3a504f
+MD5 17a1b3058098eac2ec68424bac06ea2b ChangeLog 1201
+RMD160 76992d2444d28965ad163e1da0ee6c8dd78743d1 ChangeLog 1201
+SHA256 9761fb878b4d847883b40d50564a94b959b99846a7a9cb00fa925ae12d3a504f ChangeLog 1201
MISC metadata.xml 165 RMD160 a554e96dc33b1fb4b3518f27a21bf3f59dc21b1c SHA1 674655a4f0fc35c7b3b2e05aab1910c0ebafade1 SHA256 c2f8a0b30c83dba56f0c36a4ba1cb002621ae58dfc13fae94b9db6eb67fb9f1b
MD5 62ba71d3b2fa785a4cbd5d47fdbd0eb6 metadata.xml 165
RMD160 a554e96dc33b1fb4b3518f27a21bf3f59dc21b1c metadata.xml 165
diff --git a/x11-plugins/wmmsens/wmmsens-0.29.6.ebuild b/x11-plugins/wmmsens/wmmsens-0.29.6.ebuild
index a1e6ecefdb78..092bc052e862 100644
--- a/x11-plugins/wmmsens/wmmsens-0.29.6.ebuild
+++ b/x11-plugins/wmmsens/wmmsens-0.29.6.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmsens/wmmsens-0.29.6.ebuild,v 1.6 2007/07/22 04:46:54 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmsens/wmmsens-0.29.6.ebuild,v 1.7 2008/01/06 20:30:15 swegener Exp $
-inherit eutils
+inherit toolchain-funcs
-S="${WORKDIR}/${P/_/-}"
+S="${WORKDIR}/${P/_/-}/src"
HOMEPAGE="http://www.digressed.net/wmmsens/"
DESCRIPTION="Window Maker dock app for monitoring your motherboard's hardware sensors"
SRC_URI="http://www.digressed.net/wmmsens/src//${P/_/-}.tar.gz"
@@ -20,20 +20,20 @@ DEPEND="${RDEPEND}
x11-proto/xextproto
sys-apps/lm_sensors"
-src_compile() {
- cd src
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
# remove depends at end of Makefile that cause problems
- mv Makefile Makefile.old
- sed -e "/DELETE/q" Makefile.old > Makefile
+ sed -i -e "/DELETE/q" Makefile || die "sed failed"
+}
- emake OPTFLAGS="${CXXFLAGS}" || die
+src_compile() {
+ emake CC="$(tc-getCXX)" OPTFLAGS="${CXXFLAGS}" || die "emake failed"
}
src_install() {
- cd ${S}
- dodoc CREDITS ChangeLog README TODO
+ dobin wmmsens || die "dobin failed"
- cd src
- mkdir -p ${D}/usr/bin
- emake INSTDIR=${D}/usr/bin install || die
+ dodoc ../{CREDITS,ChangeLog,README,TODO}
}