/[gentoo-x86]/app-misc/task/task-1.9.2-r1.ebuild
Gentoo

Contents of /app-misc/task/task-1.9.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Feb 11 10:27:32 2011 UTC (9 years, 9 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old

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

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/task/task-1.9.2-r1.ebuild,v 1.3 2010/11/19 20:10:39 hwoarang Exp $
4
5 EAPI=3
6
7 inherit eutils autotools
8
9 DESCRIPTION="A task management tool with a command-line interface"
10 HOMEPAGE="http://taskwarrior.org/projects/show/taskwarrior/"
11 SRC_URI="http://www.taskwarrior.org/download/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE="bash-completion debug lua +ncurses vim-syntax zsh-completion"
17
18 DEPEND="lua? ( dev-lang/lua )
19 ncurses? ( sys-libs/ncurses )"
20 RDEPEND="${DEPEND}"
21
22 src_prepare() {
23 epatch "${FILESDIR}"/${P}-configure.patch
24 eautoreconf
25 }
26
27 src_configure() {
28 econf \
29 --docdir="/usr/share/doc/${PF}" \
30 $(use_enable debug ) \
31 $(use_with lua) \
32 $(use_with ncurses)
33 }
34
35 src_install() {
36 emake DESTDIR="${D}" \
37 bashscriptsdir="" vimscriptsdir="" zshscriptsdir="" \
38 install || die "emake install failed"
39
40 if use bash-completion ; then
41 insinto /usr/share/bash-completion
42 doins scripts/bash/*
43 fi
44
45 if use vim-syntax ; then
46 rm scripts/vim/README
47 insinto /usr/share/vim/vimfiles
48 doins -r scripts/vim/*
49 fi
50
51 if use zsh-completion ; then
52 insinto /usr/share/zsh/site-functions
53 doins scripts/zsh/*
54 fi
55 }

  ViewVC Help
Powered by ViewVC 1.1.20