summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-12-05 12:59:54 +0000
committerJustin Lecher <jlec@gentoo.org>2013-12-05 12:59:54 +0000
commit9d4191dcaab995eca8f4bad41a4c4a137edbb7bb (patch)
tree110c0dae8e52472dcc54ccb77da017f8d08bda93 /sys-apps/usbmon
parentStable for x86 (bug #493194) (diff)
downloadgentoo-2-9d4191dcaab995eca8f4bad41a4c4a137edbb7bb.tar.gz
gentoo-2-9d4191dcaab995eca8f4bad41a4c4a137edbb7bb.tar.bz2
gentoo-2-9d4191dcaab995eca8f4bad41a4c4a137edbb7bb.zip
sys-apps/usbmon: Respect CC and drop upstream -O2
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sys-apps/usbmon')
-rw-r--r--sys-apps/usbmon/ChangeLog10
-rw-r--r--sys-apps/usbmon/metadata.xml6
-rw-r--r--sys-apps/usbmon/usbmon-6-r1.ebuild32
3 files changed, 43 insertions, 5 deletions
diff --git a/sys-apps/usbmon/ChangeLog b/sys-apps/usbmon/ChangeLog
index cb4159eb7621..8320e697f419 100644
--- a/sys-apps/usbmon/ChangeLog
+++ b/sys-apps/usbmon/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/usbmon
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbmon/ChangeLog,v 1.6 2012/11/18 14:03:40 ulm Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbmon/ChangeLog,v 1.7 2013/12/05 12:59:54 jlec Exp $
+
+*usbmon-6-r1 (05 Dec 2013)
+
+ 05 Dec 2013; Justin Lecher <jlec@gentoo.org> +usbmon-6-r1.ebuild,
+ metadata.xml:
+ Respect CC and drop upstream -O2
18 Nov 2012; Ulrich Müller <ulm@gentoo.org> -usbmon-4.ebuild,
usbmon-5.ebuild, usbmon-6.ebuild:
diff --git a/sys-apps/usbmon/metadata.xml b/sys-apps/usbmon/metadata.xml
index c6d862855eb5..4f84c8541bd7 100644
--- a/sys-apps/usbmon/metadata.xml
+++ b/sys-apps/usbmon/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
- <email>robbat2@gentoo.org</email>
-</maintainer>
+ <maintainer>
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
diff --git a/sys-apps/usbmon/usbmon-6-r1.ebuild b/sys-apps/usbmon/usbmon-6-r1.ebuild
new file mode 100644
index 000000000000..85743731cfea
--- /dev/null
+++ b/sys-apps/usbmon/usbmon-6-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbmon/usbmon-6-r1.ebuild,v 1.1 2013/12/05 12:59:54 jlec Exp $
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="Userland for USB monitoring framework"
+HOMEPAGE="http://people.redhat.com/zaitcev/linux/"
+SRC_URI="${HOMEPAGE}/${P}.tar.gz"
+
+LICENSE="GPL-2" # GPL-2 only
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+DEPEND="!=sys-apps/usbutils-0.72-r2"
+
+src_prepare() {
+ sed \
+ -e '/CFLAGS =/s, = , \+= ,g' \
+ -e 's:-O2::g' \
+ -i "${S}"/Makefile || die
+ tc-export CC
+}
+
+src_install() {
+ dosbin ${PN}
+ doman ${PN}.8
+ dodoc README
+}