wok-6.x annotate task/receipt @ rev 5646
Fix: mercurial add CONFIG_FILES for smarter upgrade
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 29 11:51:06 2010 +0200 (2010-05-29) |
parents | e01eb29ff29f |
children | 6bd67d9f31ef |
rev | line source |
---|---|
paul@2755 | 1 # SliTaz package receipt. |
paul@2755 | 2 |
paul@2755 | 3 PACKAGE="task" |
paul@4995 | 4 VERSION="1.9.0" |
paul@2755 | 5 CATEGORY="utilities" |
paul@2755 | 6 SHORT_DESC="Task is an open source, command line, TODO list manager." |
paul@2755 | 7 MAINTAINER="paul@slitaz.org" |
pascal@5007 | 8 DEPENDS="ncurses gcc-lib-base" |
paul@2755 | 9 BUILD_DEPENDS="ncurses-dev" |
paul@2755 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@4238 | 11 WEB_SITE="http://taskwarrior.org" |
paul@4239 | 12 WGET_URL="http://www.taskwarrior.org/download/$TARBALL" |
jozee@4973 | 13 TAGS="office todo" |
paul@2755 | 14 |
paul@2755 | 15 # Rules to configure and make the package. |
paul@2755 | 16 compile_rules() |
paul@2755 | 17 { |
paul@2755 | 18 cd $src |
paul@2755 | 19 ./configure \ |
paul@2755 | 20 --prefix=/usr \ |
paul@2755 | 21 --infodir=/usr/share/info \ |
paul@2755 | 22 --mandir=/usr/share/man \ |
paul@2755 | 23 $CONFIGURE_ARGS && |
paul@2755 | 24 make && make DESTDIR=$PWD/_pkg install |
paul@2755 | 25 } |
paul@2755 | 26 |
paul@2755 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2755 | 28 genpkg_rules() |
paul@2755 | 29 { |
paul@4238 | 30 mkdir -p $fs/usr/share |
paul@2755 | 31 cp -a $_pkg/usr/bin $fs/usr |
paul@4238 | 32 cp -a $_pkg/usr/share/doc $fs/usr/share |
paul@2755 | 33 } |