Magellan Linux

Diff of /trunk/core/cryptsetup/cryptsetup-2.0.1-r1.smage2

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

revision 30629 by niro, Thu Feb 8 09:01:50 2018 UTC revision 30630 by niro, Thu Feb 8 09:03:41 2018 UTC
# Line 20  DEPEND=">= sys-fs/device-mapper-2.02 Line 20  DEPEND=">= sys-fs/device-mapper-2.02
20  SDEPEND=">= sys-dev/automake-4  SDEPEND=">= sys-dev/automake-4
21   >= sys-dev/autoconf-5"   >= sys-dev/autoconf-5"
22    
23  SRCFILE="${PNAME}-{PVER}.tar.xz"  SRCFILE="${PNAME}-${PVER}.tar.xz"
24  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
25    
26  sminclude multilib mbuild  sminclude multilib mbuild
# Line 33  SRC_URI=( Line 33  SRC_URI=(
33    
34  UP2DATE="updatecmd -listonly http://gitlab.com/cryptsetup/cryptsetup/tags | grep '/v[0-9]' | sed 's:.*v\(.*\).*:\1:;s:_:.:g' | upsort_pipe"  UP2DATE="updatecmd -listonly http://gitlab.com/cryptsetup/cryptsetup/tags | grep '/v[0-9]' | sed 's:.*v\(.*\).*:\1:;s:_:.:g' | upsort_pipe"
35    
 src_prepare()  
 {  
  # custom src_prepare required as munpack() doesn't work  
   
  local abi  
  local abis_to_run="${MULTILIB_ABIS}"  
   
  # respect MULTILIB_ONLY_ABI variable  
  [[ ! -z ${MULTILIB_ONLY_ABI} ]] && abis_to_run="${MULTILIB_ONLY_ABI}"  
   
  for abi in ${abis_to_run}  
  do  
  echo -e "${COLBLUE}*** ${COLGREEN}unpacking for ABI -${abi}${COLDEFAULT}"  
  tar xvjf ${SOURCEDIR}/${PNAME}/${SRCFILE} -C ${BUILDDIR} || die  
  mv ${SRCDIR} ${SRCDIR}-${abi} || die  
  done  
   
  # generate configure scripts  
  all-abis mautoreconf || die  
 }  
   
36  src_compile()  src_compile()
37  {  {
38   mconfigure --enable-nls --enable-cryptsetup-reencrypt --disable-selinux || die   mconfigure --enable-nls --enable-cryptsetup-reencrypt --disable-selinux || die

Legend:
Removed from v.30629  
changed lines
  Added in v.30630