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.

36 lines
874 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/ketchup/ketchup-0.9.8.ebuild,v 1.8 2011/05/11 15:32:19 jlec Exp $
inherit eutils
DESCRIPTION="Tool for updating or switching between versions of the Linux kernel source"
HOMEPAGE="http://www.selenic.com/ketchup/"
if [[ $PV == *_p* ]]; then
SRC_URI="mirror://gentoo/${P}.tar.bz2"
else
SRC_URI="http://www.selenic.com/ketchup/${P}.tar.bz2"
fi
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 ~sparc x86"
IUSE="doc"
S=${WORKDIR}
src_install() {
if [[ $PV == *_p* ]]; then
cd Ketchup* 2>/dev/null # nightly snapshots unpack into a directory
else
cd "${S}"
fi
dobin ./ketchup || die "could not install script"
if use doc; then
doman ketchup.1 || die "could not install ketchup manual"
fi
}