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 |
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 |