# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/createrepo-0.9.8.ebuild,v 1.1 2010/04/26 02:08:30 vapier Exp $ EAPI="2" PYTHON_DEPEND="2" inherit python DESCRIPTION="Creates a common metadata repository" HOMEPAGE="http://createrepo.baseurl.org/" SRC_URI="http://createrepo.baseurl.org/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="dev-lang/python >=dev-python/urlgrabber-2.9.0 >=app-arch/rpm-4.0[python] dev-libs/libxml2[python]" src_prepare() { python_convert_shebangs -r 2 . sed -i \ -e '/^sysconfdir/s:=.*/:=/:' \ Makefile } pkg_setup() { python_set_active_version 2 } src_compile() { :; } src_install() { emake install DESTDIR="${D}" || die dodoc ChangeLog README } ~ ~ ~ ~ ~ "createrepo-0.9.8-r1.ebuild" [converted] 41L, 847C 33,2-5 All