diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-27 18:40:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-27 18:40:38 +0000 |
commit | 1eda886143c51f7daf686ca6670b609e9dad2af4 (patch) | |
tree | 4923f22bc407931cccc28e4c2dad7b735f9825ad /sys-apps/stat/stat-3.3.ebuild | |
parent | old (diff) | |
download | gentoo-2-1eda886143c51f7daf686ca6670b609e9dad2af4.tar.gz gentoo-2-1eda886143c51f7daf686ca6670b609e9dad2af4.tar.bz2 gentoo-2-1eda886143c51f7daf686ca6670b609e9dad2af4.zip |
Cleanup ebuild and block coreutils #248312 by Diego E. Pettenò.
(Portage version: 2.2_rc16/cvs/Linux 2.6.27.4 x86_64)
Diffstat (limited to 'sys-apps/stat/stat-3.3.ebuild')
-rw-r--r-- | sys-apps/stat/stat-3.3.ebuild | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/sys-apps/stat/stat-3.3.ebuild b/sys-apps/stat/stat-3.3.ebuild index 0b0cd22afdda..2ec62bed2636 100644 --- a/sys-apps/stat/stat-3.3.ebuild +++ b/sys-apps/stat/stat-3.3.ebuild @@ -1,33 +1,32 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/stat/stat-3.3.ebuild,v 1.9 2008/10/27 05:58:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/stat/stat-3.3.ebuild,v 1.10 2008/11/27 18:40:38 vapier Exp $ inherit eutils toolchain-funcs DESCRIPTION="A command-line stat() wrapper" -SRC_URI="ftp://metalab.unc.edu/pub/linux/utils/file/${P}.tar.gz" HOMEPAGE="http://www.gnu.org/directory/stat.html" +SRC_URI="ftp://metalab.unc.edu/pub/linux/utils/file/${P}.tar.gz" -KEYWORDS="amd64 arm sparc x86" -SLOT="0" LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm sparc x86" IUSE="" +DEPEND="!sys-apps/coreutils" + src_unpack() { unpack ${A} cd "${S}" - - cp Makefile Makefile.orig - sed -e "s:-O2 -g:${CFLAGS}:" Makefile.orig > Makefile + sed -i -e "s:-O2 -g:${CFLAGS} ${CPPFLAGS}:" Makefile } src_compile() { - tc-export CC - emake CC="${CC}" || die + emake CC="$(tc-getCC)" || die } src_install() { - dobin stat + dobin stat || die doman stat.1 - dodoc COPYRIGHT GPL README Changelog + dodoc COPYRIGHT README Changelog } |