include $(PKGROOT)/Include
PKG_NAME = ccache
-PKG_VER = 2.4
+PKG_VER = 3.0pre0
PKG_REL = 0
PKG_MAINTAINER =
PKG_LICENSE = GPLv2+
PKG_SUMMARY = C/C++ compiler cache.
+PKG_DEPS += zlib
+
define PKG_DESCRIPTION
ccache is a compiler cache. It acts as a caching pre-processor to \
C/C++ compilers, using the -E compiler switch and a hash to detect \
CONFIGURE_OPTIONS += --mandir=/usr/share
-###############################################################################
-# Installation Details
-###############################################################################
+define STAGE_PREPARE_CMDS
+ cd $(DIR_APP) && sed -e "s/hash_int(&hash, st.st_mtime);//g" -i ccache.c
+endef
define STAGE_INSTALL
cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
+++ /dev/null
---- a/ccache.c 2004-04-15 13:49:38.000000000 +0100
-+++ b/ccache.c 2004-04-15 17:47:59.000000000 +0100
-@@ -322,7 +322,9 @@
- failed();
- }
- hash_int(st.st_size);
-+#if 0 /* don't hash on the modification time */
- hash_int(st.st_mtime);
-+#endif
-
- /* possibly hash the current working directory */
- if (getenv("CCACHE_HASHDIR")) {