wok-6.x view units/receipt @ rev 23099
updated libsdl2 and libsdl2-dev (2.0.9 -> 2.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 12 08:48:43 2020 +0100 (2020-03-12) |
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 }