blob: c1cd3dbcf4421aa0f04d5db6f03e6276590ddbe9 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclpython/tclpython-3.1.ebuild,v 1.2 2004/06/25 02:09:19 agriffis Exp $
inherit distutils
DESCRIPTION="a Python package for Tcl"
HOMEPAGE="http://jfontain.free.fr/tclperl.htm"
SRC_URI="http://jfontain.free.fr/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
SLOT="0"
IUSE=""
DEPEND=">=dev-lang/tcl-8.0
>=virtual/python-2.2"
src_compile() {
distutils_python_version
${CC} -shared -o tclpython.so.${PV} -s -fPIC ${CFLAGS} -Wall -I/usr/include/python${PYVER} tclpython.c `python-config` -lpthread -lutil || die
}
src_install() {
insinto /usr/lib/tclpython
doins tclpython.so.${PV}
doins pkgIndex.tcl
dodoc CHANGES INSTALL README
dohtml tclpython.htm
}
|