diff options
author | Hanno Böck <hanno@gentoo.org> | 2011-08-21 16:09:23 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2011-08-21 16:09:23 +0000 |
commit | 757987b181c33985e5b2f2e429ae7cac40a1ae7f (patch) | |
tree | 024a8e4e5314cfb01d309934c3f57e50689ace83 /app-misc/ktoblzcheck/ktoblzcheck-1.33.ebuild | |
parent | Block USE=gnutls with USE=nss (bug #379541) and fix CFLAGS patch (bug #379533) (diff) | |
download | gentoo-2-757987b181c33985e5b2f2e429ae7cac40a1ae7f.tar.gz gentoo-2-757987b181c33985e5b2f2e429ae7cac40a1ae7f.tar.bz2 gentoo-2-757987b181c33985e5b2f2e429ae7cac40a1ae7f.zip |
ktoblzcheck bump
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/ktoblzcheck/ktoblzcheck-1.33.ebuild')
-rw-r--r-- | app-misc/ktoblzcheck/ktoblzcheck-1.33.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/app-misc/ktoblzcheck/ktoblzcheck-1.33.ebuild b/app-misc/ktoblzcheck/ktoblzcheck-1.33.ebuild new file mode 100644 index 000000000000..d21fe0214e79 --- /dev/null +++ b/app-misc/ktoblzcheck/ktoblzcheck-1.33.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/ktoblzcheck/ktoblzcheck-1.33.ebuild,v 1.1 2011/08/21 16:09:23 hanno Exp $ + +EAPI=3 + +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_prepare() { + rm -f py-compile + ln -s $(type -P true) py-compile || die +} + +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 {} + +} + +pkg_postinst() { + use python && python_mod_optimize ktoblzcheck.py +} + +pkg_postrm() { + use python && python_mod_cleanup ktoblzcheck.py +} |