summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-10-12 16:41:31 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-10-12 16:41:31 +0000
commit26d385d5e6e096ac607c4ed03e2acb788f30baf8 (patch)
tree0876974a5a8f15d4d7e18c01c9d6287665dfb204
parentQA fixes; unquoted variables (diff)
downloadgentoo-2-26d385d5e6e096ac607c4ed03e2acb788f30baf8.tar.gz
gentoo-2-26d385d5e6e096ac607c4ed03e2acb788f30baf8.tar.bz2
gentoo-2-26d385d5e6e096ac607c4ed03e2acb788f30baf8.zip
Fix quoting. Don't install INSTALL and COPYING.
(Portage version: 2.2_rc46/cvs/Linux x86_64)
-rw-r--r--dev-util/colorgcc/colorgcc-1.3.2-r4.ebuild22
1 files changed, 9 insertions, 13 deletions
diff --git a/dev-util/colorgcc/colorgcc-1.3.2-r4.ebuild b/dev-util/colorgcc/colorgcc-1.3.2-r4.ebuild
index afe34ed5001b..cc933ae29497 100644
--- a/dev-util/colorgcc/colorgcc-1.3.2-r4.ebuild
+++ b/dev-util/colorgcc/colorgcc-1.3.2-r4.ebuild
@@ -1,8 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/colorgcc/colorgcc-1.3.2-r4.ebuild,v 1.16 2009/09/06 05:34:09 darkside Exp $
-
-IUSE=""
+# $Header: /var/cvsroot/gentoo-x86/dev-util/colorgcc/colorgcc-1.3.2-r4.ebuild,v 1.17 2009/10/12 16:41:31 ssuominen Exp $
inherit eutils
@@ -13,23 +11,21 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 ~hppa ~mips ppc sparc x86"
+IUSE=""
DEPEND="dev-lang/perl"
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-gentoo-one.patch
- epatch ${FILESDIR}/${P}-gentoo-two.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo-one.patch \
+ "${FILESDIR}"/${P}-gentoo-two.patch
}
-src_compile() {
- echo ">>> Nothing to compile"
-}
+src_compile() { :; }
src_install() {
- exeinto /usr/bin
- doexe colorgcc
+ dobin colorgcc
dodir /etc/colorgcc /usr/lib/colorgcc/bin
insinto /etc/colorgcc
doins colorgccrc
@@ -41,7 +37,7 @@ src_install() {
fi
done
- dodoc COPYING CREDITS ChangeLog INSTALL
+ dodoc CREDITS ChangeLog
}
pkg_postinst() {
@@ -61,5 +57,5 @@ pkg_postinst() {
echo
# portage won't delete the old symlinks for users that are upgrading
# because the old symlinks still point to /usr/bin/colorgcc which exists...
- [ -d ${ROOT}/usr/bin/wrappers ] && rm -fr ${ROOT}/usr/bin/wrappers
+ [ -d "${ROOT}"/usr/bin/wrappers ] && rm -fr "${ROOT}"/usr/bin/wrappers
}