# HG changeset patch # User Eric Joseph-Alexandre # Date 1264029978 -3600 # Node ID feae50930315b4ccf36c2e7c59dadcbeacb3f086 # Parent 408064d37bb0453429d43f9617e5c7a015582630 Add: ccache, a compiler cache. diff -r 408064d37bb0 -r feae50930315 ccache/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ccache/receipt Thu Jan 21 00:26:18 2010 +0100 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="ccache" +VERSION="2.4" +CATEGORY="development" +SHORT_DESC="Compiler cache" +MAINTAINER="erjo@slitaz.org" +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://ccache.samba.org/" +WGET_URL="http://samba.org/ftp/ccache/$TARBALL" +SUGGESTED="gcc" + +# 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 +} +