wok diff tty-clock/receipt @ rev 22416

clamav: add also libjson-c-dev to enable clamsubmit and preclass
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Dec 14 20:41:58 2019 +0000 (2019-12-14)
parents 2ac08a7d0995
children 5ea0ce1cecc0
line diff
     1.1 --- a/tty-clock/receipt	Thu Jun 12 19:48:36 2014 +0100
     1.2 +++ b/tty-clock/receipt	Sat Dec 14 20:41:58 2019 +0000
     1.3 @@ -1,24 +1,26 @@
     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 +TAGS="clock"
    1.11  SHORT_DESC="Analog ncurses clock."
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 +
    1.15  WEB_SITE="https://github.com/xorg62/tty-clock"
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WGET_URL="git|git://github.com/xorg62/tty-clock"
    1.18 -TAGS="clock"
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    1.21  
    1.22  DEPENDS="ncurses"
    1.23 -BUILD_DEPENDS="ncurses-dev git bzip2"
    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 -	cd $src
    1.30 -	make
    1.31 +	patch --input=$stuff/patches/Makefile-2.3 $src/Makefile
    1.32 +
    1.33 +	make PREFIX=/usr
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 @@ -27,4 +29,3 @@
    1.38  	mkdir -p $fs/usr/bin
    1.39  	cp -a $src/$PACKAGE $fs/usr/bin
    1.40  }
    1.41 -