summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-09-30 07:55:09 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-09-30 07:55:09 +0000
commiteb50c8f084c4a21b94041de565e27a56864cd115 (patch)
treeb8919dbab830d45cc31ddad7dba84d00ef464631 /net-analyzer/bwmon
parent[bump] dev-perl/Log-Log4perl-1.380.0 (diff)
downloadhistorical-eb50c8f084c4a21b94041de565e27a56864cd115.tar.gz
historical-eb50c8f084c4a21b94041de565e27a56864cd115.tar.bz2
historical-eb50c8f084c4a21b94041de565e27a56864cd115.zip
New revision with EAPI 4 syntax
Package-Manager: portage-2.2.0_alpha132/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/bwmon')
-rw-r--r--net-analyzer/bwmon/ChangeLog9
-rw-r--r--net-analyzer/bwmon/Manifest19
-rw-r--r--net-analyzer/bwmon/bwmon-1.3-r1.ebuild45
3 files changed, 57 insertions, 16 deletions
diff --git a/net-analyzer/bwmon/ChangeLog b/net-analyzer/bwmon/ChangeLog
index 44a044a673c5..3e606c51f017 100644
--- a/net-analyzer/bwmon/ChangeLog
+++ b/net-analyzer/bwmon/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/bwmon
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/ChangeLog,v 1.16 2011/12/15 16:16:19 jer Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/ChangeLog,v 1.17 2012/09/30 07:55:09 pinkbyte Exp $
+
+*bwmon-1.3-r1 (30 Sep 2012)
+
+ 30 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> +bwmon-1.3-r1.ebuild:
+ New revision with EAPI 4 syntax
15 Dec 2011; Jeroen Roovers <jer@gentoo.org> bwmon-1.3.ebuild:
Build fix by Andrew Savchenko (bug #394827).
diff --git a/net-analyzer/bwmon/Manifest b/net-analyzer/bwmon/Manifest
index af4e1f93162b..af6da826c815 100644
--- a/net-analyzer/bwmon/Manifest
+++ b/net-analyzer/bwmon/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-DIST bwmon-1.3.tar.gz 5668 RMD160 375829dd60f4425ed90e244b715e426939df0618 SHA1 3fe85d05c6511f8f7f4a4e49bf33e3de9d6199f8 SHA256 624381208d0faae6c123bc6198a59d6c4316cd4fffb1ba5aca206374f5a42df6
-EBUILD bwmon-1.3.ebuild 812 RMD160 20953913e436567fbf91d71c287b206dd1386236 SHA1 cfb9bde4659606a3aa33928a067946b93db3e8ef SHA256 166b725d19ec8977387e63fdec06b7f69a790ef045267e0642c8087ad7e35d95
-MISC ChangeLog 1762 RMD160 1a26cbd94069790cb602eb36578e99efc6f4a0b2 SHA1 7d177ef36e82cb1c63244899dd4acfd97bfa8b08 SHA256 9cb2e146b07cbb0f0e5715650931383cc41e7d86800119b6e7845081f56b2b90
-MISC metadata.xml 227 RMD160 da09415985a20658beb1b579b7505189e6fb89fe SHA1 b436bcafc08dbd5c5be1bd49b5947387d98e55e8 SHA256 465609212401299513731252063d93eb272a2b61f65e3db84a6d38d229040d85
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iEYEARECAAYFAk7qHV4ACgkQVWmRsqeSphPNqQCeKR2yiSBhw4UIly3ZRIS1OXXM
-ussAnjyfnf01TGfDXg8CR+9gK5CcqCaY
-=acFQ
------END PGP SIGNATURE-----
+DIST bwmon-1.3.tar.gz 5668 SHA256 624381208d0faae6c123bc6198a59d6c4316cd4fffb1ba5aca206374f5a42df6 SHA512 6552ba03f0cfe7d2adebe7ae49379cc109b4f8da56dafec1264ac39c114809c7cde161f6321a67516b22b04abbad5d1ab3b4efb313479ad131fb20638c6871e8 WHIRLPOOL 1b05208fdae45881b3175f5f84fe5d816c1d0db182ccb34be1b61e3f2e14bde5cb627dda0ded10cb1f21490277eb6d5c3cd3456001854e0dd418cca6d63cb8d1
+EBUILD bwmon-1.3-r1.ebuild 1116 SHA256 c17914d902d13be4d41a007568dd470356f93ef228be3b1bd687993c4c6253ab SHA512 17ce8db5620ff6c89274d615b0e8ae6c8cd2722dcbe7b31d8a017e5776a4537634a9fa16632b41cfdc7ca4c5364aa2484e396ab9e8d78e97db07ef5ddf098e56 WHIRLPOOL 18207fa7bb4bc052a0e8b69a42a33f5393cfe88aa20fc1fdef0d6a19e249e5de1bb8e59375d0570794ab4d939009f17fa92ea507e13e9737cbcb3306e2ab5142
+EBUILD bwmon-1.3.ebuild 812 SHA256 166b725d19ec8977387e63fdec06b7f69a790ef045267e0642c8087ad7e35d95 SHA512 ca16eee64295a12c1d67fc527afd5c215ab56957ea843785ad2ca51db7f2737153335d27316d40246971352e1ef66ffa59fb570cede3b494dcf771bb346f865b WHIRLPOOL 64a93787dabab7e9eb1137720ccefd00e54276a8dab138a2ba2e7de2a569b098ff5a79061e1f07fe59b0c608ad4f8dd5903d138a9aff38ab9653fae9c75a80dd
+MISC ChangeLog 1903 SHA256 896a8694662ce44854605fee3e37d80574dba57bd785186f9c90b75d47631924 SHA512 34713213de33deccea880f1b5ada046894cbb7a992ba4ba0e53a1e0f5e8906b1ef0986204bf80372fa971770efa82687dbf12cdf0093afa9ba9fb8b014d9e475 WHIRLPOOL 58aaf1b397e98f13095387dd978830bcc4773bdeb22e7d3f386182b37a6f2e12a9fe9e836054f3eae80a375658d7d5c3ec1b0933738920a24d123a1b9fd47aca
+MISC metadata.xml 227 SHA256 465609212401299513731252063d93eb272a2b61f65e3db84a6d38d229040d85 SHA512 c3c60cfe804de3ff89e7ea17f9e4eb173a24bec5d6a261fafa55c5a432321a6c6a614972c030cb95ca62b6f6e4dad08a431b954160854a33b8e20a6eca18d2d7 WHIRLPOOL 5ff792d572923dc4ad13942685ca34407c0d050388d4b6ce40c1b5b26502a49c16a9be45954c5c92c9851f7f0a1e1422badedf1a4ab804dd06c9e72cc5629e25
diff --git a/net-analyzer/bwmon/bwmon-1.3-r1.ebuild b/net-analyzer/bwmon/bwmon-1.3-r1.ebuild
new file mode 100644
index 000000000000..619b201eb51f
--- /dev/null
+++ b/net-analyzer/bwmon/bwmon-1.3-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/bwmon-1.3-r1.ebuild,v 1.1 2012/09/30 07:55:09 pinkbyte Exp $
+
+EAPI="4"
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="Simple ncurses bandwidth monitor"
+HOMEPAGE="http://bwmon.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+RESTRICT="mirror"
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+
+SLOT="0"
+LICENSE="GPL-2 public-domain"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+doecho() {
+ echo "$@"
+ "$@"
+}
+
+src_prepare() {
+ # Respect CC and CFLAGS
+ sed -i -e '/^CC/d' \
+ -e '/^CFLAGS/d' \
+ src/Makefile || die 'sed on CC and CFLAGS failed'
+ # Respect LDFLAGS
+ sed -i '/^LDFLAGS/s:LDFLAGS:LIBS:' src/Makefile || die 'sed on LDFLAGS failed'
+ sed -i 's:$(CC) $(LDFLAGS) -o ../$@ $(OBJS):$(CC) $(CFLAGS) $(LDFLAGS) -o ../$@ $(OBJS) $(LIBS):' src/Makefile || die 'sed on compilation string failed'
+}
+
+src_compile() {
+ append-cflags -I"${S}"/include -D__THREADS
+ emake CC="$(tc-getCC)"
+}
+
+src_install () {
+ dobin ${PN}
+ dodoc README
+}