wok-4.x view units/receipt @ rev 9414

Up: mlt to 0.7.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 29 17:41:04 2011 +0000 (2011-03-29)
parents 35a258986c98
children a1076cb2b336
line source
1 # SliTaz package receipt.
3 PACKAGE="units"
4 VERSION="1.88"
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure &&
18 make && make -j1 DESTDIR=$DESTDIR install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share
25 cp -a $_pkg/usr/bin $fs/usr
26 cp $_pkg/usr/share/units.dat $fs/usr/share
27 }