diff options
Diffstat (limited to 'app-misc/ktoblzcheck/ktoblzcheck-1.28.ebuild')
-rw-r--r-- | app-misc/ktoblzcheck/ktoblzcheck-1.28.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-misc/ktoblzcheck/ktoblzcheck-1.28.ebuild b/app-misc/ktoblzcheck/ktoblzcheck-1.28.ebuild new file mode 100644 index 000000000000..731036e71841 --- /dev/null +++ b/app-misc/ktoblzcheck/ktoblzcheck-1.28.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/ktoblzcheck/ktoblzcheck-1.28.ebuild,v 1.1 2010/11/03 12:26:22 ssuominen Exp $ + +EAPI=2 + +PYTHON_DEPEND="python? 2:2.6" + +inherit python + +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="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="python" + +RDEPEND="app-text/recode + sys-apps/gawk + sys-apps/grep + sys-apps/sed + || ( net-misc/wget www-client/lynx )" +DEPEND="${RDEPEND} + sys-devel/libtool" + +pkg_setup() { + if use python; then + python_set_active_version 2 + python_pkg_setup + fi +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_enable python) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README + + find "${D}" -name '*.la' -exec rm -f '{}' + +} |