wok annotate distcc/receipt @ rev 8626

Up: libtaz 0.0.6
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 15 03:13:49 2011 +0100 (2011-02-15)
parents 0aac1ee82f7e
children c2f84a816b96
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"
pascal@5000 9 BUILD_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