wok-6.x view units/receipt @ rev 14616

Up xorg-libXxf86vm (1.1.3), xorg-libXfixes (5.0.1), xorg-libXcursor (1.1.14), see http://www.x.org/wiki/Development/Security/Advisory-2013-05-23
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 01 15:31:43 2013 +0200 (2013-06-01)
parents a1076cb2b336
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="units"
4 VERSION="2.01"
5 CATEGORY="utilities"
6 SHORT_DESC="Units converter."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="readline ncurses"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org"
11 WGET_URL="http://ftp.gnu.org/gnu/units/$TARBALL"
12 SUGGESTED="python" # to run units_cur
14 DEPENDS="readline ncurses"
15 BUILD_DEPENDS="readline-dev ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure $CONFIGURE_ARGS &&
22 make && make -j1 DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/share/units $fs/usr/share
31 }