summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2008-05-11 20:53:32 +0000
committerNed Ludd <solar@gentoo.org>2008-05-11 20:53:32 +0000
commit958ed4ae90090719a04c6f20be4cc7bd08209f26 (patch)
tree2e59d3212317977a29429853cf5c210ae55911cf /app-misc/nut
parent- cross compile love. fixes /usr/bin/chkfont being installed with the wrong E... (diff)
downloadhistorical-958ed4ae90090719a04c6f20be4cc7bd08209f26.tar.gz
historical-958ed4ae90090719a04c6f20be4cc7bd08209f26.tar.bz2
historical-958ed4ae90090719a04c6f20be4cc7bd08209f26.zip
- Keyworded ~arm/~amd64 and cross-compile love
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-misc/nut')
-rw-r--r--app-misc/nut/ChangeLog7
-rw-r--r--app-misc/nut/Manifest4
-rw-r--r--app-misc/nut/nut-12.7.ebuild16
3 files changed, 18 insertions, 9 deletions
diff --git a/app-misc/nut/ChangeLog b/app-misc/nut/ChangeLog
index 2de41192fca7..1c39b65bf953 100644
--- a/app-misc/nut/ChangeLog
+++ b/app-misc/nut/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-misc/nut
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/ChangeLog,v 1.9 2007/09/09 12:41:20 coldwind Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/ChangeLog,v 1.10 2008/05/11 20:53:32 solar Exp $
+
+ 11 May 2008; <solar@gentoo.org> nut-12.7.ebuild:
+ - Keyworded ~arm/~amd64 and cross-compile love
*nut-12.7 (09 Sep 2007)
diff --git a/app-misc/nut/Manifest b/app-misc/nut/Manifest
index 18ae50f3ec11..043f69dda8c6 100644
--- a/app-misc/nut/Manifest
+++ b/app-misc/nut/Manifest
@@ -3,6 +3,6 @@ DIST nut-12.2.tar.bz2 903328 RMD160 12f59cb2e6220bb2de1dadcc822d686719bc1f4a SHA
DIST nut-12.7.tar.gz 1144380 RMD160 68a15936f11730aa7dcf9fe2101e0274b8147be4 SHA1 3adacbc2c7de3c8db65b7ab318e9b914b91a3d6f SHA256 ae02877ae3111d6fa601b74d5b93473926a35fa0dc6161f90cf0e15c4ceb8208
EBUILD nut-10.15.ebuild 694 RMD160 88b1b7ffdbe470ad259154418330f6af620e2266 SHA1 4a93a95678b22071a7ff9dbf3b0f21cc6160b2be SHA256 20868548c05c802141e1bedf7814ae3e5f8d2bccdfe1a0d5954c82faa66349ec
EBUILD nut-12.2.ebuild 710 RMD160 6cb3816cce0fced2884b5e965361cb07b5903671 SHA1 dc29d9ecc0eff8cf2f63862cfc4d4f343353e419 SHA256 f08a3391a6fe4e6c0bb5b37567d1a13020ca701789b7e9eb8cd9ee2bcc8377e8
-EBUILD nut-12.7.ebuild 720 RMD160 d18b77e52ab5b4b412c0b9ecdfe8a29e683caa20 SHA1 6e4a0231cc52b746cde58edf2a9838790d10fef0 SHA256 99bd6f8b9285e96523c0c8d839b3a9336e4672cfa26a658c27fb0386782efa78
-MISC ChangeLog 1506 RMD160 faea1cb20addb316821b22c2333d5798e1d2579b SHA1 7b4960bcb5c39a3e66fd87a99916386710fe0a81 SHA256 c4dee46cc2874e3b44154b83c5110385b81f531d056feb5e3e7466acd0b0ee98
+EBUILD nut-12.7.ebuild 877 RMD160 30a7bd87e5422e6aa5334473a8f26a290449b9f4 SHA1 d63174495224066f1a350f94767b27f682d79c0d SHA256 26206b0b9625d02226cd232c50f2d4bf6be845be798b85c30a5d148eeed05212
+MISC ChangeLog 1605 RMD160 7635cb63a39faf9387c2b332f8c5a7d8ffdb860d SHA1 b8b4544faefc6b50597323c53ee82373c84635eb SHA256 b0600152f2e174544088c6bf716fa3e93e97e114ac19b86ef81c886f36426ea7
MISC metadata.xml 236 RMD160 92f49f8275e75caf57b88a3172d5204eaa4e33ae SHA1 dd1a8550a514e55ab0ed6190ab4794bb090994f8 SHA256 56075995f83836ae824c7cb01931b98d6745f6d5a7764299c8262e801486b829
diff --git a/app-misc/nut/nut-12.7.ebuild b/app-misc/nut/nut-12.7.ebuild
index 719e36a84d5f..e0a98731af32 100644
--- a/app-misc/nut/nut-12.7.ebuild
+++ b/app-misc/nut/nut-12.7.ebuild
@@ -1,8 +1,8 @@
-# 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/app-misc/nut/nut-12.7.ebuild,v 1.1 2007/09/09 12:41:20 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-12.7.ebuild,v 1.2 2008/05/11 20:53:32 solar Exp $
-inherit flag-o-matic
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Record what you eat and analyze your nutrient levels"
HOMEPAGE="http://nut.sourceforge.net/"
@@ -10,15 +10,21 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+KEYWORDS="~arm ~alpha ~amd64 ~ppc ~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND=""
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e s/'gcc '/'$(CC) '/ Makefile || ewarn "It might of been fixed"
+}
+
src_compile() {
append-flags '-DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr/share/nut\"'
- emake CFLAGS="${CFLAGS}" || die "emake failed"
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {