wok-6.x rev 13521

Up task (2.1.2)
author Paul Issott <paul@slitaz.org>
date Fri Oct 19 19:53:45 2012 +0100 (2012-10-19)
parents 21f9c267cacf
children 373911133ff9
files task/receipt
line diff
     1.1 --- a/task/receipt	Fri Oct 19 19:46:06 2012 +0100
     1.2 +++ b/task/receipt	Fri Oct 19 19:53:45 2012 +0100
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="task"
     1.7 -VERSION="1.9.4"
     1.8 +VERSION="2.1.2"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="Task is an open source, command line, TODO list manager."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  DEPENDS="ncurses gcc-lib-base"
    1.13 -BUILD_DEPENDS="ncurses-dev"
    1.14 +BUILD_DEPENDS="ncurses-dev cmake"
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WEB_SITE="http://taskwarrior.org"
    1.17  WGET_URL="http://www.taskwarrior.org/download/$TARBALL"
    1.18 @@ -16,18 +16,19 @@
    1.19  compile_rules()
    1.20  {
    1.21  	cd $src
    1.22 -	./configure \
    1.23 -		--prefix=/usr \
    1.24 -		--infodir=/usr/share/info \
    1.25 -		--mandir=/usr/share/man \
    1.26 -		$CONFIGURE_ARGS &&
    1.27 -	make && make DESTDIR=$PWD/_pkg install
    1.28 +	#./configure \
    1.29 +		#--prefix=/usr \
    1.30 +		#--infodir=/usr/share/info \
    1.31 +		#--mandir=/usr/share/man \
    1.32 +		#$CONFIGURE_ARGS &&
    1.33 +	cmake . -DCMAKE_INSTALL_PREFIX=/usr
    1.34 +	make && make install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40  	mkdir -p $fs/usr/share
    1.41 -	cp -a $_pkg/usr/bin $fs/usr
    1.42 -	cp -a $_pkg/usr/share/doc $fs/usr/share
    1.43 +	cp -a $install/usr/bin $fs/usr
    1.44 +	cp -a $install/usr/share/doc $fs/usr/share
    1.45  }