summaryrefslogtreecommitdiff
blob: 61ec9e88cd195d1be583f99b5dc3ab9eddfb5952 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.50.35-r2.ebuild,v 1.9 2004/01/27 23:03:45 mr_bones_ Exp $

inherit python

S=${WORKDIR}/${P}
DESCRIPTION="redhat's newt windowing toolkit development files"
SRC_URI="http://koto.mynetix.de/gentoo/${P}.tar.gz"
HOMEPAGE="http://www.redhat.com"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc hppa amd64 alpha"

DEPEND=">=sys-libs/slang-1.4
	>=dev-libs/popt-1.6
	dev-lang/python"

RDEPEND=""

src_compile() {
	python_version
	econf || die
	make PYTHONVERS=python${PYVER} || die "make failure"
}

src_install () {
	make prefix=${D}/usr PYTHONVERS=python${PYVER} install || die "make install failed"
	dodoc CHANGES COPYING peanuts.py popcorn.py tutorial.sgml
	dosym libnewt.so.${PV} /usr/lib/libnewt.so.0.50
}