summaryrefslogtreecommitdiff
blob: cf4b1c6fb4caeccb8da7ccab1ff371c74df588d8 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/ktoblzcheck/ktoblzcheck-1.17.ebuild,v 1.5 2008/11/14 13:20:40 fmccor Exp $

DESCRIPTION="Library to check account numbers and bank codes of German banks"
HOMEPAGE="http://ktoblzcheck.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 sparc x86"
IUSE="python"

RDEPEND="sys-apps/gawk
	sys-apps/grep
	python? ( || ( dev-python/ctypes >=dev-lang/python-2.5 ) )"
DEPEND="${RDEPEND}
	sys-devel/libtool"

src_compile() {
	econf `use_enable python` || die "configure failed"
	emake || die "make failed"
}

src_install() {
	einstall BANKDATA_PATH="${D}/usr/share/ktoblzcheck" || die "install failed"
}