summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-20 18:28:20 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-20 18:28:20 +0000
commit397dc734f3a584bd7bd7cd3fcd7a4d6db29a36be (patch)
treed78cbbed7a1d278d6d22271284c3dfb365fcaae7
parentsparc stable wrt #355567 (diff)
downloadgentoo-2-397dc734f3a584bd7bd7cd3fcd7a4d6db29a36be.tar.gz
gentoo-2-397dc734f3a584bd7bd7cd3fcd7a4d6db29a36be.tar.bz2
gentoo-2-397dc734f3a584bd7bd7cd3fcd7a4d6db29a36be.zip
Fix libusb depend wrt #270039, Comment #24 by Fabian Köster.
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
-rw-r--r--sys-power/sispmctl/ChangeLog7
-rw-r--r--sys-power/sispmctl/sispmctl-2.7.ebuild21
2 files changed, 17 insertions, 11 deletions
diff --git a/sys-power/sispmctl/ChangeLog b/sys-power/sispmctl/ChangeLog
index c71fcf073bda..d78b47c71c28 100644
--- a/sys-power/sispmctl/ChangeLog
+++ b/sys-power/sispmctl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-power/sispmctl
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/sispmctl/ChangeLog,v 1.7 2010/06/05 18:52:01 armin76 Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/sispmctl/ChangeLog,v 1.8 2011/03/20 18:28:20 ssuominen Exp $
+
+ 20 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> sispmctl-2.7.ebuild:
+ Fix libusb depend wrt #270039, Comment #24 by Fabian Köster.
05 Jun 2010; Raúl Porcel <armin76@gentoo.org> sispmctl-2.7.ebuild:
Add ~arm wrt #314561
diff --git a/sys-power/sispmctl/sispmctl-2.7.ebuild b/sys-power/sispmctl/sispmctl-2.7.ebuild
index 91957eda046d..7343376d0d6c 100644
--- a/sys-power/sispmctl/sispmctl-2.7.ebuild
+++ b/sys-power/sispmctl/sispmctl-2.7.ebuild
@@ -1,23 +1,26 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/sispmctl/sispmctl-2.7.ebuild,v 1.3 2010/06/05 18:52:01 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/sispmctl/sispmctl-2.7.ebuild,v 1.4 2011/03/20 18:28:20 ssuominen Exp $
+
+EAPI=2
-IUSE=""
DESCRIPTION="GEMBIRD SiS-PM control utility"
HOMEPAGE="http://sispmctl.sourceforge.net/"
SRC_URI="mirror://sourceforge/sispmctl/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
-DEPEND=">=dev-libs/libusb-0.1.8"
+IUSE=""
+
+RDEPEND="virtual/libusb:0"
+DEPEND="${RDEPEND}"
-src_compile() {
- local myconf="--enable-webless"
- econf ${myconf} || die "configure failed"
- emake || die "make failed"
+src_configure() {
+ econf --enable-webless
}
src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die
dodoc README ChangeLog NEWS
}