diff options
Diffstat (limited to 'dev-tcltk/tkpng/tkpng-0.9.ebuild')
-rw-r--r-- | dev-tcltk/tkpng/tkpng-0.9.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-tcltk/tkpng/tkpng-0.9.ebuild b/dev-tcltk/tkpng/tkpng-0.9.ebuild new file mode 100644 index 000000000000..720efd8d4e95 --- /dev/null +++ b/dev-tcltk/tkpng/tkpng-0.9.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkpng/tkpng-0.9.ebuild,v 1.1 2010/04/02 06:54:44 jlec Exp $ + +EAPI="3" + +MY_P="${PN}${PV}" + +DESCRIPTION="Implements support for loading and using PNG images with Tcl/Tk" +HOMEPAGE="http://www.muonics.com/FreeStuff/TkPNG/" +SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${MY_P}.tgz" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="tktreectrl" +IUSE="debug threads" + +RDEPEND=" + >=dev-lang/tcl-8.4 + >=dev-lang/tk-8.4 + sys-libs/zlib" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${MY_P} + +src_configure() { + econf \ + $(use_enable debug symbols) \ + $(use_enable amd64 64bit) \ + $(use_enable threads) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc ChangeLog README || die +} |