Magellan Linux

Diff of /smage/trunk/extras/cargo/cargo-0.19.0-r1.smage2

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

revision 9616 by niro, Fri Jul 28 13:01:30 2017 UTC revision 9617 by niro, Fri Jul 28 13:19:48 2017 UTC
# Line 22  SDEPEND=">= dev-util/cmake-3.6 Line 22  SDEPEND=">= dev-util/cmake-3.6
22    
23  if [[ ${BOOTSTRAP} = 0 ]]  if [[ ${BOOTSTRAP} = 0 ]]
24  then  then
25   SDEPEND=">= dev-util/cargo-0.19"   SDEPEND="${SDEPEND}
26     >= dev-util/cargo-0.19"
27  fi  fi
28    
29  SRCFILE="${PVER}.tar.gz"  SRCFILE="${PVER}.tar.gz"
# Line 93  src_compile() Line 94  src_compile()
94  src_install()  src_install()
95  {  {
96   cd ${SRCDIR}   cd ${SRCDIR}
97   make prepare-image-${ARCH}-unknown-linux-gnu IMGDIR_${ARCH}-unknown-linux-gnu=${BINDIR}/usr || die  
98     local myARCH
99     [[ ${ARCH} = i*86 ]] && myARCH=i686
100     make prepare-image-${myARCH}-unknown-linux-gnu IMGDIR_${myARCH}-unknown-linux-gnu=${BINDIR}/usr || die
101    
102   # remove unnecessary files   # remove unnecessary files
103   mdelete -r /usr/etc || die   mdelete -r /usr/etc || die

Legend:
Removed from v.9616  
changed lines
  Added in v.9617