You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/kiwix/kiwix-0.9_beta4.ebuild

39 lines
1.0 KiB

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/kiwix/kiwix-0.9_beta4.ebuild,v 1.1 2011/11/05 12:42:25 chithanh Exp $
EAPI=3
inherit multilib versionator
MY_P="${PN}-$(replace_version_separator 2 -)-src"
DESCRIPTION="A ZIM reader, especially for offline web content retrieved from Wikipedia"
HOMEPAGE="http://www.kiwix.org/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# No upgrade from 0.9_alpha possible, because a directory would be replaced
# with a symlink, which PMS section 13.4 forbids. Bug #326685.
RDEPEND="app-arch/xz-utils
dev-lang/perl
dev-libs/icu
dev-libs/xapian
net-libs/libmicrohttpd
net-libs/xulrunner:1.9
>=net-misc/aria2-1.10
!!<app-text/kiwix-0.9_beta"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS CHANGELOG README || die
}