You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
879 B
40 lines
879 B
# Copyright 1999-2012 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.3 2012/12/05 08:08:19 ulm 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="tcltk"
|
|
IUSE="debug threads"
|
|
|
|
RDEPEND="
|
|
>=dev-lang/tcl-8.4
|
|
>=dev-lang/tk-8.4
|
|
sys-libs/zlib"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
# test target in Makefile, but test not shipped
|
|
RESTRICT="test"
|
|
|
|
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
|
|
}
|