wok-6.x annotate units/receipt @ rev 21756
logsurfer, mypaint: update url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 22 21:11:47 2019 +0200 (2019-06-22) |
parents | f4c22f009037 |
children | 52c26a2da959 |
rev | line source |
---|---|
paul@4538 | 1 # SliTaz package receipt. |
paul@4538 | 2 |
paul@4538 | 3 PACKAGE="units" |
paul@15431 | 4 VERSION="2.02" |
paul@4538 | 5 CATEGORY="utilities" |
paul@4538 | 6 SHORT_DESC="Units converter." |
paul@4538 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL3" |
paul@4538 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@4538 | 10 WEB_SITE="http://www.gnu.org" |
paul@4538 | 11 WGET_URL="http://ftp.gnu.org/gnu/units/$TARBALL" |
paul@13674 | 12 SUGGESTED="python" # to run units_cur |
paul@4538 | 13 |
slaxemulator@10308 | 14 DEPENDS="readline ncurses" |
slaxemulator@10308 | 15 BUILD_DEPENDS="readline-dev ncurses-dev" |
slaxemulator@10308 | 16 |
paul@4538 | 17 # Rules to configure and make the package. |
paul@4538 | 18 compile_rules() |
paul@4538 | 19 { |
paul@4538 | 20 cd $src |
slaxemulator@10308 | 21 ./configure $CONFIGURE_ARGS && |
slaxemulator@8368 | 22 make && make -j1 DESTDIR=$DESTDIR install |
paul@4538 | 23 } |
paul@4538 | 24 |
paul@4538 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4538 | 26 genpkg_rules() |
paul@4538 | 27 { |
paul@4538 | 28 mkdir -p $fs/usr/share |
paul@13674 | 29 cp -a $install/usr/bin $fs/usr |
paul@13674 | 30 cp -a $install/usr/share/units $fs/usr/share |
paul@4538 | 31 } |
paul@4538 | 32 |