summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-03-08 14:16:47 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-03-08 14:16:47 +0000
commit506ed989ada942153008462dfaeff25f12ee283f (patch)
treedab5ebc653a97f5df47356f075a1931ec3cb5ec4 /sys-process/htop
parentMigrate to EAPI 2. (diff)
downloadhistorical-506ed989ada942153008462dfaeff25f12ee283f.tar.gz
historical-506ed989ada942153008462dfaeff25f12ee283f.tar.bz2
historical-506ed989ada942153008462dfaeff25f12ee283f.zip
Migrate to EAPI 2.
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.29-rc6 i686
Diffstat (limited to 'sys-process/htop')
-rw-r--r--sys-process/htop/ChangeLog5
-rw-r--r--sys-process/htop/Manifest10
-rw-r--r--sys-process/htop/htop-0.8.1-r1.ebuild18
3 files changed, 16 insertions, 17 deletions
diff --git a/sys-process/htop/ChangeLog b/sys-process/htop/ChangeLog
index 0378d68ea600..87ad9230dcaa 100644
--- a/sys-process/htop/ChangeLog
+++ b/sys-process/htop/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-process/htop
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v 1.72 2009/03/04 21:51:08 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v 1.73 2009/03/08 14:16:47 betelgeuse Exp $
+
+ 08 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> htop-0.8.1-r1.ebuild:
+ Migrate to EAPI 2.
04 Mar 2009; Timothy Redaelli <drizzt@gentoo.org>
+files/htop-0.8.1-no-plpa.patch, htop-0.8.1-r1.ebuild:
diff --git a/sys-process/htop/Manifest b/sys-process/htop/Manifest
index 65e4ce44bc35..2384552460ba 100644
--- a/sys-process/htop/Manifest
+++ b/sys-process/htop/Manifest
@@ -5,13 +5,13 @@ AUX htop-0.8.1-desktop-entry.patch 396 RMD160 a86dbdf0856410707d3b352df43c10dddf
AUX htop-0.8.1-no-plpa.patch 3206 RMD160 0a64aee22a69a7b4b80d2df3bae666d30efb2564 SHA1 b254da652488c8238e7dd2356f57db472416ce1d SHA256 866cacdd7572fc5d013aad40195d6b863d16c556d9f3b96d0ddfe71d776bafaa
AUX htop-0.8.1-non-printable-char-filter.patch 576 RMD160 eb716cf0a079b4a06aa60c763c2b3ecb138aa82e SHA1 1ade154e42525b3e04210eb7375e1543ed6d87f5 SHA256 e4ff4eb727b9baae514589ec99d08f3c9f5160618dae493fcacca92473de68a7
DIST htop-0.8.1.tar.gz 414870 RMD160 8e73a9b31b6a48d4680c4df06c280c8d1bc125da SHA1 b41b4d83ab7ac40b79f6eeb730cd561293b62fd4 SHA256 25ae28202fa4b782ed0e1298d3feee407bdeb56eaf9c652d0a6f9dbf22125d28
-EBUILD htop-0.8.1-r1.ebuild 1512 RMD160 13a8e45dedba02c291759e9a84c18450d36f855b SHA1 c87c6aaaa24e49a1c4ae092977ebf05793bfe3db SHA256 15211b4c89d7387eafc49985bed2b07cbeab3b3de63321435bdb626b5e0a50ab
-MISC ChangeLog 9850 RMD160 abc84de154f751db3383b9aa4f40009b8731f6dc SHA1 ba32149c76fdff949ff47cbb868f12df5db7d3eb SHA256 603deba3bbe75915acf652e39170266d9b89ebc6d88fcb1cf742685b97ee7269
+EBUILD htop-0.8.1-r1.ebuild 1336 RMD160 db92d291d6f3703f3763ecf862eb6ebbb064e05f SHA1 7cf1b6dbdedbcb5e0b5bffd7f625134b38f46ac6 SHA256 6ace51cab5be0b92f6ff08a27162e2b46d67c0d79bf043b8c723a59bf7c83acc
+MISC ChangeLog 9951 RMD160 7e4ada46a1cf79348d8cd8d777a250b969d23c92 SHA1 9080c125c28ededbac43fcd0b5687828fcbb2cc5 SHA256 221cf20763e00d5e061241d601959616c33a88b2e0527e713255ed4fdccfffac
MISC metadata.xml 618 RMD160 dd00a14cdcd692f6c4efd5107cc0e97f2ea915c6 SHA1 4b96f9a5c5964bc4182eed3acdb59e6b9d9b0559 SHA256 b04ca9e5e1cde68556c792812c5ba650727c43513cf577296a6ed24c8d18256d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
-iEYEARECAAYFAkmu99UACgkQl4DfQEcjpw385QCfbUqMLDh4rbuHWgByJjs9dwr2
-afcAnithCZufHvdd0mqMtcVUD3J21UOp
-=hh/a
+iEYEARECAAYFAkmz06wACgkQcxLzpIGCsLR3rACfYSrktfnW+eJZC9+RJdSuRt5v
+QZUAnizeSqJ+MPtiAP1k2QkHTWFVut9t
+=O5w+
-----END PGP SIGNATURE-----
diff --git a/sys-process/htop/htop-0.8.1-r1.ebuild b/sys-process/htop/htop-0.8.1-r1.ebuild
index 27f12086e38f..802cd0df7059 100644
--- a/sys-process/htop/htop-0.8.1-r1.ebuild
+++ b/sys-process/htop/htop-0.8.1-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/htop-0.8.1-r1.ebuild,v 1.8 2009/03/04 21:51:08 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/htop-0.8.1-r1.ebuild,v 1.9 2009/03/08 14:16:47 betelgeuse Exp $
+
+EAPI="2"
inherit autotools eutils flag-o-matic
@@ -11,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
-DEPEND="sys-libs/ncurses"
+DEPEND="sys-libs/ncurses[unicode?]"
pkg_setup() {
if use elibc_FreeBSD && ! [[ -f "${ROOT}"/proc/stat && -f "${ROOT}"/proc/meminfo ]] ; then
@@ -24,9 +26,7 @@ pkg_setup() {
fi
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-desktop-entry.patch
epatch "${FILESDIR}"/${P}-non-printable-char-filter.patch
epatch "${FILESDIR}"/${P}-no-plpa.patch
@@ -34,19 +34,15 @@ src_unpack() {
eautoreconf
}
-src_compile() {
- if use unicode && ! built_with_use sys-libs/ncurses unicode; then
- die "for unicode support of htop, sys-libs/ncurses must be emerged with USE=unicode"
- fi
+src_configure() {
useq debug && append-flags -O -ggdb -DDEBUG
econf \
--enable-taskstats \
$(use_enable unicode) \
|| die "configure failed"
- emake || die "make failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
- dodoc README ChangeLog TODO
+ dodoc README ChangeLog TODO || die
}