/[gentoo-x86]/app-misc/ktoblzcheck/ktoblzcheck-1.33.ebuild
Gentoo

Contents of /app-misc/ktoblzcheck/ktoblzcheck-1.33.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Jan 21 16:11:42 2012 UTC (2 years, 7 months ago) by phajdan.jr
Branch: MAIN
Changes since 1.4: +2 -2 lines
x86 stable wrt bug #397841

(Portage version: 2.1.10.41/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/ktoblzcheck/ktoblzcheck-1.33.ebuild,v 1.4 2012/01/09 19:16:51 ranger Exp $
4
5 EAPI=4
6 PYTHON_DEPEND="python? 2:2.6"
7 inherit python
8
9 DESCRIPTION="Library to check account numbers and bank codes of German banks"
10 HOMEPAGE="http://ktoblzcheck.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="amd64 ppc ~ppc64 ~sparc x86"
16 IUSE="python"
17
18 RDEPEND="app-text/recode
19 sys-apps/gawk
20 sys-apps/grep
21 sys-apps/sed
22 || ( net-misc/wget www-client/lynx )"
23 DEPEND="${RDEPEND}
24 >=sys-devel/libtool-2.2.6b"
25
26 DOCS="AUTHORS ChangeLog NEWS README"
27
28 pkg_setup() {
29 if use python; then
30 python_set_active_version 2
31 python_pkg_setup
32 fi
33 }
34
35 src_prepare() {
36 >py-compile
37 }
38
39 src_configure() {
40 econf $(use_enable python)
41 }
42
43 src_install() {
44 default
45 find "${ED}" -name '*.la' -exec rm -f {} +
46 }
47
48 pkg_postinst() {
49 use python && python_mod_optimize ktoblzcheck.py
50 }
51
52 pkg_postrm() {
53 use python && python_mod_cleanup ktoblzcheck.py
54 }

  ViewVC Help
Powered by ViewVC 1.1.20