wok view units/receipt @ rev 10874

slitaz-tools-boxes: This can't be a wanted package. Compile_rules are made for non-wanted packages. Also tazwok doesn't execute compile_rules if its a wanted package.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jun 19 12:25:19 2011 +0000 (2011-06-19)
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 }