summaryrefslogtreecommitdiff
blob: 1407ca305610479cf6dc590996d949620e1f79d0 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

DESCRIPTION="NATSPEC library is intended to smooth national specificities in using of program"
HOMEPAGE="http://natspec.sourceforge.net/"
SRC_URI="mirror://sourceforge/natspec/lib${P}.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc python"

DEPEND="dev-libs/popt
	dev-lang/tcl
	doc? ( app-doc/doxygen )
	>=dev-lang/python-2.3 "
RDEPEND=""
#python? ( >=dev-lang/python-2.3 )"

S=${WORKDIR}/lib${P}

src_configure() {
	use doc || export ac_cv_prog_DOX=no
	# TODO: Disable python bindings
	# use $(use_with python)
	econf
}

src_install() {
	make DESTDIR="${D}" install || die
	dodoc ChangeLog NEWS README* TODO || die
}