wok annotate units/receipt @ rev 23337

updated perl-getopt-long (2.37 -> 2.51)
author Hans-G?nter Theisgen
date Tue Mar 31 07:34:23 2020 +0100 (2020-03-31)
parents a2435e498d16
children 71360a13cd94
rev   line source
paul@4538 1 # SliTaz package receipt.
paul@4538 2
paul@4538 3 PACKAGE="units"
Hans-G?nter@22078 4 VERSION="2.19"
paul@4538 5 CATEGORY="utilities"
paul@4538 6 SHORT_DESC="Units converter."
paul@4538 7 MAINTAINER="paul@slitaz.org"
pascal@15201 8 LICENSE="GPL3"
Hans-G?nter@22078 9 WEB_SITE="https://www.gnu.org/software/units/"
Hans-G?nter@22078 10
paul@4538 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22078 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
paul@4538 13
Hans-G?nter@22078 14 SUGGESTED="python" # to run units_cur
Hans-G?nter@22078 15 DEPENDS="ncurses readline"
Hans-G?nter@22078 16 BUILD_DEPENDS="ncurses-dev readline-dev"
slaxemulator@10308 17
paul@4538 18 # Rules to configure and make the package.
paul@4538 19 compile_rules()
paul@4538 20 {
slaxemulator@10308 21 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@22078 22 make &&
Hans-G?nter@22078 23 make -j1 DESTDIR=$DESTDIR install
paul@4538 24 }
paul@4538 25
paul@4538 26 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4538 27 genpkg_rules()
paul@4538 28 {
paul@4538 29 mkdir -p $fs/usr/share
Hans-G?nter@22078 30
Hans-G?nter@22078 31 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22078 32 cp -a $install/usr/share/units $fs/usr/share
paul@4538 33 }