Magellan Linux

Diff of /branches/magellan-next/extras/ccache/ccache-3.1.5-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9874 by niro, Sat Jan 14 00:57:34 2012 UTC revision 9875 by niro, Sat Jan 14 01:11:30 2012 UTC
# Line 15  DEPEND=">= virtual/glibc Line 15  DEPEND=">= virtual/glibc
15  SRCFILE="${PNAME}-${PVER}.tar.bz2"  SRCFILE="${PNAME}-${PVER}.tar.bz2"
16  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18    CCC_REV=1.2
19    
20  sminclude mbuild mtools  sminclude mbuild mtools
21    
22  SRC_URI=(  SRC_URI=(
23   http://samba.org/ftp/${PNAME}/${SRCFILE}   http://samba.org/ftp/${PNAME}/${SRCFILE}
24   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
25   mirror://${PNAME}/ccache-config   mirror://${PNAME}/ccache-config-${CCC_REV}
26  )  )
27    
28  UP2DATE="updatecmd ${HOMEPAGE} | grep latest | sed 's/.* \(.*\)\./\1/;q'"  UP2DATE="updatecmd ${HOMEPAGE} | grep latest | sed 's/.* \(.*\)\./\1/;q'"
# Line 31  src_install() Line 33  src_install()
33   mmake DESTDIR=${BINDIR} install || die   mmake DESTDIR=${BINDIR} install || die
34    
35   # bins   # bins
36   minstallexec -s ccache-config || die   minstallexec -s ccache-config-${CCC_REV} /usr/bin/ccache-config || die
37    
38   # fix hardcoded libdir   # fix hardcoded libdir
39   sed -i "s:/usr/lib/ccache:/usr/$(mlibdir)/ccache:g" \   sed -i "/^LIBDIR=/s:lib:$(mlibdir):" ${BINDIR}/usr/bin/ccache-config || die
  ${BINDIR}/usr/bin/ccache-config || die  
   
  # needed to run ccache-config  
  mkeepdir /usr/$(mlibdir)/cache || die  
  mkeepdir /usr/$(mlibdir)/cache/bin || die  
40    
41   # special needed directories   # special needed directories
42   mkeepdir /root/.ccache || die   mkeepdir /root/.ccache || die

Legend:
Removed from v.9874  
changed lines
  Added in v.9875