wok-6.x view distcc/receipt @ rev 4853
open-iscsi: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 01 21:01:44 2010 +0100 (2010-02-01) |
parents | |
children | 6e90579538d6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="distcc"
4 VERSION="3.1"
5 CATEGORY="development"
6 SHORT_DESC="Distributed compilation for C/C++"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="popt lzo"
9 DEPENDS="popt-dev lzo-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://distcc.org"
12 WGET_URL="http://distcc.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }