wok-6.x diff task/receipt @ rev 14505

Add miniupnpc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 12 09:44:28 2013 +0200 (2013-05-12)
parents bdb7ae9c7c09
children de49f29b101e
line diff
     1.1 --- a/task/receipt	Tue Mar 29 14:30:23 2011 +0100
     1.2 +++ b/task/receipt	Sun May 12 09:44:28 2013 +0200
     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  }