wok rev 22078

updated units (2.02 -> 2.19)
author Hans-G?nter Theisgen
date Tue Oct 29 17:24:05 2019 +0100 (2019-10-29)
parents 7e8305bf137c
children dec59b33f2da
files units/receipt
line diff
     1.1 --- a/units/receipt	Tue Oct 29 16:58:15 2019 +0100
     1.2 +++ b/units/receipt	Tue Oct 29 17:24:05 2019 +0100
     1.3 @@ -1,32 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="units"
     1.7 -VERSION="2.02"
     1.8 +VERSION="2.19"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="Units converter."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 +WEB_SITE="https://www.gnu.org/software/units/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.gnu.org"
    1.17 -WGET_URL="http://ftp.gnu.org/gnu/units/$TARBALL"
    1.18 -SUGGESTED="python" # to run units_cur
    1.19 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.20  
    1.21 -DEPENDS="readline ncurses"
    1.22 -BUILD_DEPENDS="readline-dev ncurses-dev"
    1.23 +SUGGESTED="python"		# to run units_cur
    1.24 +DEPENDS="ncurses readline"
    1.25 +BUILD_DEPENDS="ncurses-dev readline-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31  	./configure $CONFIGURE_ARGS &&
    1.32 -	make && make -j1 DESTDIR=$DESTDIR install
    1.33 +	make &&
    1.34 +	make -j1 DESTDIR=$DESTDIR 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 $install/usr/bin $fs/usr
    1.42 -	cp -a $install/usr/share/units $fs/usr/share
    1.43 +
    1.44 +	cp -a $install/usr/bin		$fs/usr
    1.45 +	cp -a $install/usr/share/units	$fs/usr/share
    1.46  }
    1.47 -