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