# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils IUSE="" S=${WORKDIR}/${P} DESCRIPTION="Gentoo Linux \"lint\" utility" HOMEPAGE="http://www.gentoo.org/" SRC_URI="mirror://gentoo/${P}.tar.bz2" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~ppc ~sparc ~hppa ~alpha" DEPEND=">=dev-lang/python-2.2" src_unpack() { unpack ${A} epatch ${FILESDIR}/lintool-0.2.4-fixyear.diff cp ${FILESDIR}/setup.py-0.2.4 ${S}/setup.py mv ${S}/src/lintool ${S}/lintool } src_install () { DOCS="AUTHORS doc/checklist-for-ebuilds" distutils_src_install newbin src/lintool.py lintool doman doc/man/lintool.1 }