summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <jcallen@gentoo.org>2010-01-15 03:34:40 +0000
committerJonathan Callen <jcallen@gentoo.org>2010-01-15 03:34:40 +0000
commit985bbd105316fdf8d3cdaf7e4b885a19f69d88e5 (patch)
tree741353de01420aae47e4fc5a85ced7e8266bd9ff /app-text
parentVersion bump. (diff)
downloadhistorical-985bbd105316fdf8d3cdaf7e4b885a19f69d88e5.tar.gz
historical-985bbd105316fdf8d3cdaf7e4b885a19f69d88e5.tar.bz2
historical-985bbd105316fdf8d3cdaf7e4b885a19f69d88e5.zip
Add prefix keywords, cleanup QA violations
Package-Manager: portage--svn/cvs/Linux i686
Diffstat (limited to 'app-text')
-rw-r--r--app-text/cook/ChangeLog7
-rw-r--r--app-text/cook/Manifest14
-rw-r--r--app-text/cook/cook-1.0.2-r1.ebuild36
3 files changed, 36 insertions, 21 deletions
diff --git a/app-text/cook/ChangeLog b/app-text/cook/ChangeLog
index 0f31daedf827..61480a9f6eeb 100644
--- a/app-text/cook/ChangeLog
+++ b/app-text/cook/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/cook
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/cook/ChangeLog,v 1.15 2009/09/23 16:31:22 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/cook/ChangeLog,v 1.16 2010/01/15 03:34:40 abcd Exp $
+
+ 15 Jan 2010; Jonathan Callen <abcd@gentoo.org> cook-1.0.2-r1.ebuild:
+ Add prefix keywords, cleanup QA violations
23 Sep 2009; Patrick Lauer <patrick@gentoo.org> cook-1.0.2-r1.ebuild:
Remove virtual/libc
diff --git a/app-text/cook/Manifest b/app-text/cook/Manifest
index ea2d5bf8d50e..3bd93de9af5e 100644
--- a/app-text/cook/Manifest
+++ b/app-text/cook/Manifest
@@ -1,4 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST cook-1.0.2.tar.gz 139428 RMD160 00e85efc58eb3ae91db2668fbee81fa1806e898b SHA1 e5c3e7d64a2f170af86955d01f9b1612d121305f SHA256 b56bab9d5227a37c50e94afc65923a579a0c2ef08a23a6fddb611cb4fd1006da
-EBUILD cook-1.0.2-r1.ebuild 1242 RMD160 44717e47e3e08e293770ee4b74a17bf213214faa SHA1 c306c1aae2b94cc417c53e1b7ba96bef3c7b1c45 SHA256 8d92b5441e5b51c39c4a48130d916c160c632a6db03347a151ec1f1c9a704bf8
-MISC ChangeLog 1566 RMD160 4b055e18a829cf8b8157ecb81b10bb03a1ba1b15 SHA1 0a6c91b5902d453070aabfea48f1d566c5e15fad SHA256 af28515acbad1878d3492c75f176ba42f2ffb0bb0f6bbdca5612ad4e25430ce1
+EBUILD cook-1.0.2-r1.ebuild 1268 RMD160 28431800dbb70043a6ea4759b4337e1125ac3a19 SHA1 1da0dd21aa126e91ed1827b4f612ae4faabd23a6 SHA256 cb28891dfe39024f0e2190731e8b238a2cfcc9e444e6a5f2fee8d294c8783424
+MISC ChangeLog 1680 RMD160 82b68bb4d0b0051fe2bf9cdade9f9f5243341924 SHA1 91681e39a6bb3da1910b7b51f3a165b6cb1885c7 SHA256 8cdff555f226fcf5ab5c417a814233d6445f24a37ef07aef53c2d3050c39aa17
MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAktP4loACgkQOypDUo0oQOpPvQCfaF8WsSg6WQo4AMgW5zCTsH5n
+7jcAnAm4cLwqROxhmSTT5zIAp5yl5C5T
+=Nb8g
+-----END PGP SIGNATURE-----
diff --git a/app-text/cook/cook-1.0.2-r1.ebuild b/app-text/cook/cook-1.0.2-r1.ebuild
index 62702847b8b9..3968f2e03398 100644
--- a/app-text/cook/cook-1.0.2-r1.ebuild
+++ b/app-text/cook/cook-1.0.2-r1.ebuild
@@ -1,42 +1,44 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 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.10 2009/09/23 16:31:22 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/cook/cook-1.0.2-r1.ebuild,v 1.11 2010/01/15 03:34:40 abcd 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/"
SRC_URI="mirror://sourceforge/cook/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc"
+KEYWORDS="ppc x86 ~x86-linux ~ppc-macos ~sparc-solaris"
IUSE=""
+
DEPEND=""
src_compile() {
- cd ${S}
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_install() {
- cd ${S}
+ use prefix || EPREFIX=
+
dodoc README doc/cook.txt doc/cook.html || die "dodoc failed"
- dodir /usr/share/doc/${PF}/example || die "dodir failed"
- cd ${S}/test
+
insinto /usr/share/doc/${PF}/example
- doins pcb.dbdef pcb.dg pcbprol.ps tempsens.pcb || die "doins failed"
- cd ${S}
+ doins test/pcb.dbdef test/pcb.dg test/pcbprol.ps test/tempsens.pcb || die "doins failed"
+
newbin src/cook cookproc || die "newbin failed"
- (
- echo "NOTICE:"
- echo
- echo " /usr/bin/cook has been renamed to /usr/bin/cookproc in Gentoo"
- echo
- echo " -- Karl Trygve Kalleberg <karltk@gentoo.org>"
- ) > ${D}/usr/share/doc/${PF}/README.Gentoo
+ cat > "${T}"/README.Gentoo <<EOF
+NOTICE:
+
+ ${EPREFIX}/usr/bin/cook has been renamed to ${EPREFIX}/usr/bin/cookproc in Gentoo
+
+ -- Karl Trygve Kalleberg <karltk@gentoo.org>
+EOF
+ dodoc "${T}"/README.Gentoo || die "dodoc failed"
}
pkg_postinst() {
- ewarn "/usr/bin/cook has been renamed to /usr/bin/cookproc"
+ ewarn "${EPREFIX}/usr/bin/cook has been renamed to ${EPREFIX}/usr/bin/cookproc"
}