blob: 54b953031bd05a4e11f1dddbebaad6caded96100 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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.2 2010/04/13 12:10:39 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}"
# 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
}
|