wok diff units/receipt @ rev 23995

Up dropbear (2020.81), lz4 (1.9.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 16 17:23:49 2020 +0000 (2020-12-16)
parents a2435e498d16
children 71360a13cd94
line diff
     1.1 --- a/units/receipt	Mon Nov 04 18:55:00 2013 +0000
     1.2 +++ b/units/receipt	Wed Dec 16 17:23:49 2020 +0000
     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 -