/[gentoo-x86]/dev-util/ketchup/ketchup-0.9.8.ebuild
Gentoo

Contents of /dev-util/ketchup/ketchup-0.9.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Wed May 11 15:32:19 2011 UTC (3 years, 4 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
Cleaned old, Version Bump, #366873

(Portage version: 2.2.0_alpha32/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/ketchup/ketchup-0.9.8.ebuild,v 1.7 2010/02/22 18:46:49 phajdan.jr Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Tool for updating or switching between versions of the Linux kernel source"
8 HOMEPAGE="http://www.selenic.com/ketchup/"
9
10 if [[ $PV == *_p* ]]; then
11 SRC_URI="mirror://gentoo/${P}.tar.bz2"
12 else
13 SRC_URI="http://www.selenic.com/ketchup/${P}.tar.bz2"
14 fi
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 ~sparc x86"
19 IUSE="doc"
20
21 S=${WORKDIR}
22
23 src_install() {
24 if [[ $PV == *_p* ]]; then
25 cd Ketchup* 2>/dev/null # nightly snapshots unpack into a directory
26 else
27 cd "${S}"
28 fi
29
30 dobin ./ketchup || die "could not install script"
31
32 if use doc; then
33 doman ketchup.1 || die "could not install ketchup manual"
34 fi
35 }

  ViewVC Help
Powered by ViewVC 1.1.20