wok-6.x view units/receipt @ rev 4710

Add: python-pyprotocols (PEP 246 and a whole lot more)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jan 04 18:40:28 2010 +0100 (2010-01-04)
parents 69f6139a17d9
children 4897058add72
line source
1 # SliTaz package receipt.
3 PACKAGE="units"
4 VERSION="1.87"
5 CATEGORY="utilities"
6 SHORT_DESC="Units converter."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="readline"
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 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp $_pkg/usr/share/units.dat $fs/usr/share
31 }