wok-next rev 19718

Up tty-clock (2.3) (thanks Pascal to pointing me right direction :)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 23 14:40:37 2017 +0300 (2017-05-23)
parents 9ab8be819003
children d7cac426f075
files tty-clock/receipt
line diff
     1.1 --- a/tty-clock/receipt	Tue May 23 11:13:34 2017 +0200
     1.2 +++ b/tty-clock/receipt	Tue May 23 14:40:37 2017 +0300
     1.3 @@ -1,29 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tty-clock"
     1.7 -VERSION="0.1"
     1.8 +VERSION="2.3"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="Analog ncurses clock."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="BSD"
    1.13  WEB_SITE="https://github.com/xorg62/tty-clock"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WGET_URL="git|git://github.com/xorg62/tty-clock"
    1.16  TAGS="clock"
    1.17  
    1.18 -DEPENDS="ncursesw"
    1.19 -BUILD_DEPENDS="ncursesw-dev bzip2"
    1.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.21 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    1.22 +
    1.23 +DEPENDS="ncurses"
    1.24 +BUILD_DEPENDS="ncurses-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	make
    1.30 +	make && make PREFIX=/usr install
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	mkdir -p $fs/usr/bin
    1.37 -	cp -a $src/$PACKAGE $fs/usr/bin
    1.38 +	copy @std
    1.39  }
    1.40 -