summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-23 02:18:06 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-23 02:18:06 +0000
commit9c58fc8834f97e95766326ec55ff8e6a87711e8e (patch)
tree68cd057f7bb4a599a8e5501fd81e50b06ce52d70 /dev-util/cook
parentFixing CVS header (diff)
downloadhistorical-9c58fc8834f97e95766326ec55ff8e6a87711e8e.tar.gz
historical-9c58fc8834f97e95766326ec55ff8e6a87711e8e.tar.bz2
historical-9c58fc8834f97e95766326ec55ff8e6a87711e8e.zip
bump for bug # 116741
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'dev-util/cook')
-rw-r--r--dev-util/cook/cook-2.24.ebuild4
-rw-r--r--dev-util/cook/cook-2.26.ebuild34
-rw-r--r--dev-util/cook/files/cook-2.24-bugfix.patch11
-rw-r--r--dev-util/cook/files/digest-cook-2.263
4 files changed, 50 insertions, 2 deletions
diff --git a/dev-util/cook/cook-2.24.ebuild b/dev-util/cook/cook-2.24.ebuild
index 31945e770351..268ccb96cfa9 100644
--- a/dev-util/cook/cook-2.24.ebuild
+++ b/dev-util/cook/cook-2.24.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cook/cook-2.24.ebuild,v 1.7 2007/01/22 21:30:56 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cook/cook-2.24.ebuild,v 1.8 2007/01/23 02:18:06 antarus Exp $
inherit eutils
@@ -18,7 +18,7 @@ DEPEND="sys-devel/bison"
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${P}-gcc4.patch
+ epatch "${FILESDIR}"/${P}-bugfix.patch
}
src_compile() {
diff --git a/dev-util/cook/cook-2.26.ebuild b/dev-util/cook/cook-2.26.ebuild
new file mode 100644
index 000000000000..e99d397c1ae6
--- /dev/null
+++ b/dev-util/cook/cook-2.26.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cook/cook-2.26.ebuild,v 1.1 2007/01/23 02:18:06 antarus Exp $
+
+inherit eutils
+
+DESCRIPTION="tool for constructing files; a drop in replacement for make"
+HOMEPAGE="http://www.canb.auug.org.au/~millerp/cook/cook.html"
+SRC_URI="http://www.canb.auug.org.au/~millerp/cook/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~ppc-macos ~sparc ~x86"
+IUSE=""
+
+DEPEND="sys-devel/bison"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+# epatch "${FILESDIR}"/${P}-gcc4.patch
+}
+
+src_compile() {
+ econf || die "./configure failed"
+ # doesn't seem to like parallel
+ emake -j1 || die
+}
+
+src_install() {
+ # we'll hijack the RPM_BUILD_ROOT variable which is intended for a
+ # similiar purpose anyway
+ make RPM_BUILD_ROOT="${D}" install || die
+}
diff --git a/dev-util/cook/files/cook-2.24-bugfix.patch b/dev-util/cook/files/cook-2.24-bugfix.patch
new file mode 100644
index 000000000000..3206be25c7b5
--- /dev/null
+++ b/dev-util/cook/files/cook-2.24-bugfix.patch
@@ -0,0 +1,11 @@
+--- cook-2.24/file_check/file_check.h.orig 2005-11-05 20:22:22.000000000 +0100
++++ cook-2.24/file_check/file_check.h 2005-11-05 20:22:51.000000000 +0100
+@@ -26,7 +26,7 @@
+ #include <str.h>
+
+ extern int warning;
+-extern int limit;
++static int limit;
+
+ void file_check _((string_ty *));
+
diff --git a/dev-util/cook/files/digest-cook-2.26 b/dev-util/cook/files/digest-cook-2.26
new file mode 100644
index 000000000000..5da305481101
--- /dev/null
+++ b/dev-util/cook/files/digest-cook-2.26
@@ -0,0 +1,3 @@
+MD5 6cfae86ca89dcfcbd6483aa586a5ac72 cook-2.26.tar.gz 881301
+RMD160 8d7839f0ec484585c1db0a4763a5717d792d6513 cook-2.26.tar.gz 881301
+SHA256 59d785717af209c56cdade8d1c048b1e60a38ebccb6a4f05e815ae4104283985 cook-2.26.tar.gz 881301