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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Oct 6 22:19:07 2010 UTC (10 years, 1 month ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Revision bump and remove old. Apply patch to fix bug #339773, thanks to James Rowe for reporting.

(Portage version: 2.2_rc88/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.ebuild,v 1.1 2010/10/03 21:31:13 radhermit Exp $
4
5 EAPI=3
6
7 DESCRIPTION="A task management tool with a command-line interface"
8 HOMEPAGE="http://taskwarrior.org/projects/show/taskwarrior/"
9 SRC_URI="http://www.taskwarrior.org/download/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="bash-completion debug lua +ncurses vim-syntax zsh-completion"
15
16 DEPEND="lua? ( dev-lang/lua )
17 ncurses? ( sys-libs/ncurses )"
18 RDEPEND="${DEPEND}"
19
20 src_configure() {
21 econf \
22 --docdir="/usr/share/doc/${PF}" \
23 $(use_enable debug ) \
24 $(use_with lua) \
25 $(use_with ncurses)
26 }
27
28 src_install() {
29 emake DESTDIR="${D}" \
30 bashscriptsdir="" vimscriptsdir="" zshscriptsdir="" \
31 install || die "emake install failed"
32
33 if use bash-completion ; then
34 insinto /usr/share/bash-completion
35 doins scripts/bash/*
36 fi
37
38 if use vim-syntax ; then
39 rm scripts/vim/README
40 insinto /usr/share/vim/vimfiles
41 doins -r scripts/vim/*
42 fi
43
44 if use zsh-completion ; then
45 insinto /usr/share/zsh/site-functions
46 doins scripts/zsh/*
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20