wok-stable view units/receipt @ rev 8888
Fix gcompris receipt: It dont build on my local env without full BUILD_DEPENDS and it alwas cook without perl-texi2html
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 27 11:52:25 2011 +0100 (2011-02-27) |
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 }