summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-05-13 03:49:05 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-05-13 03:49:05 +0000
commitddab647ac928681ab68a70f391ef16744d3b7f55 (patch)
tree6b0d2a0df97e33e83e06a9fce6a1b63970a3ae54 /app-text/cook
parent(non maintainer commit) QA fixes (user flags) by Espen Hustad in bug 240126 (diff)
downloadgentoo-2-ddab647ac928681ab68a70f391ef16744d3b7f55.tar.gz
gentoo-2-ddab647ac928681ab68a70f391ef16744d3b7f55.tar.bz2
gentoo-2-ddab647ac928681ab68a70f391ef16744d3b7f55.zip
(non maintainer commit) QA fixes (user flags) by Espen Hustad in bug 240130
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'app-text/cook')
-rw-r--r--app-text/cook/ChangeLog8
-rw-r--r--app-text/cook/cook-1.0.2-r1.ebuild8
-rw-r--r--app-text/cook/cook-1.0.2.ebuild28
3 files changed, 11 insertions, 33 deletions
diff --git a/app-text/cook/ChangeLog b/app-text/cook/ChangeLog
index 0844c7b9de54..6a457b55a4ef 100644
--- a/app-text/cook/ChangeLog
+++ b/app-text/cook/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/cook
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/cook/ChangeLog,v 1.12 2007/05/14 20:13:35 bangert Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/cook/ChangeLog,v 1.13 2009/05/13 03:49:05 darkside Exp $
+
+ 13 May 2009; Jeremy Olexa <darkside@gentoo.org> -cook-1.0.2.ebuild,
+ cook-1.0.2-r1.ebuild:
+ (non maintainer commit) QA fixes (user flags) by Espen Hustad in bug 240130
14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add <herd>no-herd</herd>
diff --git a/app-text/cook/cook-1.0.2-r1.ebuild b/app-text/cook/cook-1.0.2-r1.ebuild
index 822f19b23b1c..d1bb0032fff1 100644
--- a/app-text/cook/cook-1.0.2-r1.ebuild
+++ b/app-text/cook/cook-1.0.2-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/cook/cook-1.0.2-r1.ebuild,v 1.6 2007/03/21 21:16:13 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/cook/cook-1.0.2-r1.ebuild,v 1.7 2009/05/13 03:49:05 darkside Exp $
+
+inherit toolchain-funcs
DESCRIPTION="COOK is an embedded language which can be used as a macro preprocessor and for similar text processing."
HOMEPAGE="http://cook.sourceforge.net/"
@@ -13,7 +15,7 @@ DEPEND="virtual/libc"
src_compile() {
cd ${S}
- emake
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_install() {
diff --git a/app-text/cook/cook-1.0.2.ebuild b/app-text/cook/cook-1.0.2.ebuild
deleted file mode 100644
index ddf04c59f170..000000000000
--- a/app-text/cook/cook-1.0.2.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/cook/cook-1.0.2.ebuild,v 1.7 2007/03/21 21:16:13 grobian Exp $
-
-DESCRIPTION="COOK is an embedded language which can be used as a macro preprocessor and for similar text processing."
-HOMEPAGE="http://cook.sourceforge.net/"
-SRC_URI="mirror://sourceforge/cook/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ~ppc"
-IUSE=""
-DEPEND="virtual/libc"
-
-src_compile() {
- cd ${S}
- emake
-}
-
-src_install() {
- cd ${S}
- dodoc README doc/cook.txt doc/cook.html
- dodir /usr/share/doc/${P}/example
- cd ${S}/test
- insinto /usr/share/doc/${P}/example
- doins pcb.dbdef pcb.dg pcbprol.ps tempsens.pcb
- cd ${S}
- dobin src/cook
-}