--- trunk/core/cryptsetup/cryptsetup-2.0.1-r1.smage2 2018/02/08 09:01:50 30629 +++ trunk/core/cryptsetup/cryptsetup-2.0.1-r1.smage2 2018/02/08 09:03:41 30630 @@ -20,7 +20,7 @@ SDEPEND=">= sys-dev/automake-4 >= sys-dev/autoconf-5" -SRCFILE="${PNAME}-{PVER}.tar.xz" +SRCFILE="${PNAME}-${PVER}.tar.xz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude multilib mbuild @@ -33,27 +33,6 @@ UP2DATE="updatecmd -listonly http://gitlab.com/cryptsetup/cryptsetup/tags | grep '/v[0-9]' | sed 's:.*v\(.*\).*:\1:;s:_:.:g' | upsort_pipe" -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 -} - src_compile() { mconfigure --enable-nls --enable-cryptsetup-reencrypt --disable-selinux || die