wok view units/receipt @ rev 24295

Up ventoy (1.0.64)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 14 17:35:36 2022 +0000 (2022-01-14)
parents a2435e498d16
children 71360a13cd94
line source
1 # SliTaz package receipt.
3 PACKAGE="units"
4 VERSION="2.19"
5 CATEGORY="utilities"
6 SHORT_DESC="Units converter."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/units/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 SUGGESTED="python" # to run units_cur
15 DEPENDS="ncurses readline"
16 BUILD_DEPENDS="ncurses-dev readline-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure $CONFIGURE_ARGS &&
22 make &&
23 make -j1 DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/units $fs/usr/share
33 }