wok view units/receipt @ rev 13244
Move from undigest: tahoe-lafs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 14 13:39:27 2012 +0200 (2012-08-14) |
parents | b2ed9ea6a8f2 |
children | e2f1d5ecf6ec |
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 DEPENDS="readline ncurses"
14 BUILD_DEPENDS="readline-dev ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS &&
21 make && make -j1 DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp $_pkg/usr/share/units.dat $fs/usr/share
30 }