wok view units/receipt @ rev 23836

Up jbig2dec (0.18), metasploit (5.0.91), nginx (1.19.0), spamassassin (3.4.4), sqlite (3.32.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 10:15:25 2020 +0000 (2020-06-01)
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 }