# SliTaz package receipt.

PACKAGE="ccache"
VERSION="3.1.3"
CATEGORY="development"
SHORT_DESC="Compiler cache"
MAINTAINER="erjo@slitaz.org"
DEPENDS="zlib"
BUILD_DEPENDS="zlib-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://ccache.samba.org/"
WGET_URL="http://samba.org/ftp/$PACKAGE/$TARBALL"
SUGGESTED="gcc"
TAGS="compiler"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $_pkg/usr/bin $fs/usr
}