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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Nov 20 22:24:17 2010 UTC (10 years ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Revbump and remove old. Change theme install path (bug #346159 by Roger Luethi), change i18n install path, use correct directory locations in man pages, remove old MY_P usage, and update patch file to remove hardcoded -O3 optimization.

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

  ViewVC Help
Powered by ViewVC 1.1.20