wok-next diff units/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a2435e498d16 |
children |
line diff
1.1 --- a/units/receipt Mon Nov 04 18:55:00 2013 +0000 1.2 +++ b/units/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -3,30 +3,24 @@ 1.4 PACKAGE="units" 1.5 VERSION="2.02" 1.6 CATEGORY="utilities" 1.7 -SHORT_DESC="Units converter." 1.8 +SHORT_DESC="Units converter" 1.9 MAINTAINER="paul@slitaz.org" 1.10 LICENSE="GPL3" 1.11 +WEB_SITE="http://www.gnu.org/" 1.12 + 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 -WEB_SITE="http://www.gnu.org" 1.15 WGET_URL="http://ftp.gnu.org/gnu/units/$TARBALL" 1.16 -SUGGESTED="python" # to run units_cur 1.17 1.18 -DEPENDS="readline ncurses" 1.19 BUILD_DEPENDS="readline-dev ncurses-dev" 1.20 1.21 -# Rules to configure and make the package. 1.22 -compile_rules() 1.23 -{ 1.24 - cd $src 1.25 +compile_rules() { 1.26 ./configure $CONFIGURE_ARGS && 1.27 - make && make -j1 DESTDIR=$DESTDIR install 1.28 + make && 1.29 + make -j1 DESTDIR=$install install 1.30 } 1.31 1.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 -genpkg_rules() 1.34 -{ 1.35 - mkdir -p $fs/usr/share 1.36 - cp -a $install/usr/bin $fs/usr 1.37 - cp -a $install/usr/share/units $fs/usr/share 1.38 +genpkg_rules() { 1.39 + copy @std 1.40 + DEPENDS="readline ncurses" 1.41 + SUGGESTED="python" # to run units_cur 1.42 } 1.43 -