Magellan Linux

Annotation of /trunk/core/cryptsetup/cryptsetup-1.7.5-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30381 - (hide annotations) (download)
Thu Jan 18 10:45:03 2018 UTC (6 years, 3 months ago) by niro
File size: 1553 byte(s)
auto added: ver bump to 1.7.5-r3
1 niro 30381 # $Id$
2    
3     PNAME="cryptsetup"
4     PVER="1.7.5"
5     PBUILD="r3"
6    
7     PCAT="sys-fs"
8    
9     DESCRIPTION="Userspace setup tool for transparent encryption of block devices using dm-crypt."
10     HOMEPAGE="http://code.google.com/p/cryptsetup/"
11    
12     DEPEND=">= sys-fs/device-mapper-2.02
13     >= app-crypt/libgcrypt-1.8
14     >= app-crypt/libgpg-error-1.20
15     >= dev-libs/popt-1.16
16     >= sys-fs/udev-230
17     >= sys-fs/e2fsprogs-1.42
18     >= sys-libs/libuuid-2.30"
19    
20     SDEPEND=">= sys-dev/automake-4
21     >= sys-dev/autoconf-5"
22    
23     GITID="0ba577666c62bb3c82e90f3c8dd01f3f81a26cf4"
24    
25     SRCFILE="archive.tar.bz2?ref=v${PVER//./_}"
26     SRCDIR="${BUILDDIR}/${PNAME}-v${PVER//./_}-${GITID}"
27    
28     sminclude multilib mbuild
29     msetfeature "!check"
30    
31     SRC_URI=(
32     http://gitlab.com/cryptsetup/${PNAME}/repository/archive.tar.bz2?ref=v${PVER//./_}
33     mirror://${PNAME}/${SRCFILE}
34     )
35    
36     UP2DATE="updatecmd -listonly http://gitlab.com/cryptsetup/cryptsetup/tags | grep '/v[0-9]' | sed 's:.*v\(.*\).*:\1:;s:_:.:g' | upsort_pipe"
37    
38     src_prepare()
39     {
40     # custom src_prepare required as munpack() doesn't work
41    
42     local abi
43     local abis_to_run="${MULTILIB_ABIS}"
44    
45     # respect MULTILIB_ONLY_ABI variable
46     [[ ! -z ${MULTILIB_ONLY_ABI} ]] && abis_to_run="${MULTILIB_ONLY_ABI}"
47    
48     for abi in ${abis_to_run}
49     do
50     echo -e "${COLBLUE}*** ${COLGREEN}unpacking for ABI -${abi}${COLDEFAULT}"
51     tar xvjf ${SOURCEDIR}/${PNAME}/${SRCFILE} -C ${BUILDDIR} || die
52     mv ${SRCDIR} ${SRCDIR}-${abi} || die
53     done
54    
55     # generate configure scripts
56     all-abis mautoreconf || die
57     }
58    
59     src_compile()
60     {
61     mconfigure --enable-nls --enable-cryptsetup-reencrypt --disable-selinux || die
62     mmake || die
63     }