summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-24 19:31:09 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-24 19:31:09 +0000
commit04cceb1e07fd440e889079b97bcc68ba837c3c28 (patch)
tree52ff87fe68660d6aefa94a95257f70058fc61ee8 /media-sound/cvoicecontrol
parentFix dependencies: readlink/realpath are also needed at run time. (diff)
downloadgentoo-2-04cceb1e07fd440e889079b97bcc68ba837c3c28.tar.gz
gentoo-2-04cceb1e07fd440e889079b97bcc68ba837c3c28.tar.bz2
gentoo-2-04cceb1e07fd440e889079b97bcc68ba837c3c28.zip
Repoman warnings
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/cvoicecontrol')
-rw-r--r--media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild15
-rw-r--r--media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha.ebuild8
2 files changed, 10 insertions, 13 deletions
diff --git a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild
index a97a0dd37d3c..8e26ffda3957 100644
--- a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild
+++ b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild,v 1.2 2007/07/29 20:46:15 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild,v 1.3 2009/05/24 19:31:09 ssuominen Exp $
+EAPI=2
inherit eutils
MY_P=${P/_/}
@@ -15,21 +16,17 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
-S="${WORKDIR}"/${MY_P}
+S=${WORKDIR}/${MY_P}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo-2.patch
sed -i -e "s/install-data-am: install-data-local/install-data-am:/" Makefile.in
-
# Handle documentation with dohtml instead.
sed -i -e "s:SUBDIRS = docs:#SUBDIRS = docs:" cvoicecontrol/Makefile.in
-
}
src_install () {
- emake DESTDIR="${D}" install || die "emake install failed."
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS BUGS ChangeLog FAQ README
dohtml cvoicecontrol/docs/en/*.html
}
diff --git a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha.ebuild b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha.ebuild
index b040b3f11600..4dfef5bae825 100644
--- a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha.ebuild
+++ b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha.ebuild,v 1.17 2007/07/11 19:30:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha.ebuild,v 1.18 2009/05/24 19:31:09 ssuominen Exp $
IUSE=""
@@ -26,10 +26,10 @@ src_unpack() {
#remove "docs" from SUBDIRS in Makefile.in
#Makefile will try to install few html files directly under the /usr
#much easier to do with dohtml
- cd ${S}/cvoicecontrol/
+ cd "${S}"/cvoicecontrol/
sed -i -e "s:SUBDIRS = docs:#SUBDIRS = docs:" Makefile.in
- cd ${S}
+ cd "${S}"
sed -i -e "s/install-data-am: install-data-local/install-data-am:/" Makefile.in
}