diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-01-15 03:34:40 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-01-15 03:34:40 +0000 |
commit | 559f890ea932f36420b27586625c26e17c3a8c1e (patch) | |
tree | 9972b4684e79e15d197bd116350b82971ea8d9c8 /app-text/cook | |
parent | Version bump. (diff) | |
download | gentoo-2-559f890ea932f36420b27586625c26e17c3a8c1e.tar.gz gentoo-2-559f890ea932f36420b27586625c26e17c3a8c1e.tar.bz2 gentoo-2-559f890ea932f36420b27586625c26e17c3a8c1e.zip |
Add prefix keywords, cleanup QA violations
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'app-text/cook')
-rw-r--r-- | app-text/cook/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/cook/cook-1.0.2-r1.ebuild | 36 |
2 files changed, 24 insertions, 19 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/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" } |