1 DESCRIPTION = "A Fast C/C++ Compiler Cache"
2 HOMEPAGE = "http://ccache.samba.org/"
3 SECTION = "Development/Languages/C and C++"
14 RPROVIDES_ccache += "ccache"
15 # the PROVIDES rules is ignore "distcc:/usr/bin/ccache "
16 PROVIDES += "distcc:/usr/bin/ccache"
17 RPROVIDES_ccache += "distcc:/usr/bin/ccache"
23 DEPENDS += "zlib-devel"
26 chmod -Rf a+rX,u+w,g-w,o-w ${S}
28 cp ${S}/packaging/ccache.manifest .
40 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
41 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
42 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
43 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
46 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
47 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
48 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
49 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
50 --target=x86_64-tizen-linux \
57 --datadir=/usr/share \
58 --includedir=/usr/include \
60 --libexecdir=/usr/libexec \
61 --localstatedir=/var \
62 --sharedstatedir=/usr/com \
63 --mandir=/usr/share/man \
64 --infodir=/usr/share/info
72 echo export RPM_BUILD_ROOT=${D}
79 make install DESTDIR=${D}
88 ccache_files += "ccache.manifest"
89 ccache_files += "AUTHORS.* GPL-3.0.txt INSTALL.* LICENSE.* MANUAL.* NEWS.* README.*"
90 ccache_files += "/usr/share/man/man1/ccache.1.gz"
91 ccache_files += "/usr/bin/ccache"
93 FILES_${PN} = "${ccache_files}"
97 require ccache-extraconf.inc