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

udev-light: fix path to pci.ids
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 18:07:41 2011 +0200 (2011-05-23)
parents b2ed9ea6a8f2
children
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 }