diff options
author | Federico Ferri <mescalinum@gentoo.org> | 2009-05-03 19:24:53 +0000 |
---|---|---|
committer | Federico Ferri <mescalinum@gentoo.org> | 2009-05-03 19:24:53 +0000 |
commit | 3124939559950d54a13422c135896202973a3dfa (patch) | |
tree | c6a75953836915f07629fa27a08460d92a25ace8 /dev-tcltk | |
parent | Add ~amd64 keyword. (diff) | |
download | gentoo-2-3124939559950d54a13422c135896202973a3dfa.tar.gz gentoo-2-3124939559950d54a13422c135896202973a3dfa.tar.bz2 gentoo-2-3124939559950d54a13422c135896202973a3dfa.zip |
patch Makefile, fix bug #247183
(Portage version: 2.2_rc32/cvs/Linux x86_64)
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/ck/ChangeLog | 9 | ||||
-rw-r--r-- | dev-tcltk/ck/ck-8.0-r1.ebuild | 40 |
2 files changed, 47 insertions, 2 deletions
diff --git a/dev-tcltk/ck/ChangeLog b/dev-tcltk/ck/ChangeLog index 5343db16ff4f..1704011c867d 100644 --- a/dev-tcltk/ck/ChangeLog +++ b/dev-tcltk/ck/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-tcltk/ck -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/ck/ChangeLog,v 1.5 2004/06/25 02:06:48 agriffis Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/ck/ChangeLog,v 1.6 2009/05/03 19:24:53 mescalinum Exp $ + +*ck-8.0-r1 (03 May 2009) + + 03 May 2009; Federico Ferri <mescalinum@gentoo.org> +ck-8.0-r1.ebuild: + patch Makefile, fix bug #247183 25 Apr 2004; Aron Griffis <agriffis@gentoo.org> ck-8.0.ebuild: Add die following econf for bug 48950 diff --git a/dev-tcltk/ck/ck-8.0-r1.ebuild b/dev-tcltk/ck/ck-8.0-r1.ebuild new file mode 100644 index 000000000000..311853dfbb6d --- /dev/null +++ b/dev-tcltk/ck/ck-8.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/ck/ck-8.0-r1.ebuild,v 1.1 2009/05/03 19:24:53 mescalinum Exp $ + +EAPI=2 + +MY_P=${PN}${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="A curses based toolkit for tcl" +HOMEPAGE="http://www.ch-werner.de/ck/" +SRC_URI="http://www.ch-werner.de/ck/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND=">=dev-lang/tk-8.0" +RDEPEND="${DEPEND}" + +src_prepare() { + # patch Makefile + sed -i \ + -e "s:mkdir:mkdir -p:g" \ + -e "s|install: |install: install-man |" \ + -e 's:^.*\(MAN_INSTALL_DIR\).*=.*$:\1 = $(INSTALL_ROOT)$(prefix)/share/man:g' \ + Makefile.in +} + +src_configure() { + econf --with-tcl=/usr/lib --enable-shared || die "econf failed" +} + +src_compile() { + emake CFLAGS="${CFLAGS}" || die +} + +src_install() { + dodoc README + einstall || die "Failed to install." +} |