Lines 1-10
Link Here
|
1 |
# Copyright 1999-2013 Gentoo Foundation |
1 |
# Copyright 1999-2013 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.6.0.ebuild,v 1.3 2013/01/21 21:00:18 vapier Exp $ |
3 |
# $Header: Exp $ |
4 |
|
4 |
|
5 |
EAPI="4" |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit python linux-info libtool |
7 |
PYTHON_COMPAT=( python{2_5,2_6,2_7} ) |
|
|
8 |
inherit python-single-r1 linux-info libtool |
8 |
|
9 |
|
9 |
MY_P=${P/_rc/-rc} |
10 |
MY_P=${P/_rc/-rc} |
10 |
DESCRIPTION="Tool to setup encrypted devices with dm-crypt" |
11 |
DESCRIPTION="Tool to setup encrypted devices with dm-crypt" |
Lines 30-36
Link Here
|
30 |
# these other packages. #414665 |
31 |
# these other packages. #414665 |
31 |
RDEPEND="static-libs? ( ${LIB_DEPEND} ) |
32 |
RDEPEND="static-libs? ( ${LIB_DEPEND} ) |
32 |
${LIB_DEPEND//\[static-libs(+)]} |
33 |
${LIB_DEPEND//\[static-libs(+)]} |
33 |
selinux? ( sys-libs/libselinux )" |
34 |
selinux? ( sys-libs/libselinux ) |
|
|
35 |
python? ( ${PYTHON_DEPS} )" |
34 |
DEPEND="${RDEPEND} |
36 |
DEPEND="${RDEPEND} |
35 |
static? ( ${LIB_DEPEND} )" |
37 |
static? ( ${LIB_DEPEND} )" |
36 |
|
38 |
|
Lines 40-49
Link Here
|
40 |
local WARNING_CRYPTO_CBC="CONFIG_CRYPTO_CBC:\tis not set (required for kernel 2.6.19)\n" |
42 |
local WARNING_CRYPTO_CBC="CONFIG_CRYPTO_CBC:\tis not set (required for kernel 2.6.19)\n" |
41 |
local WARNING_CRYPTO="CONFIG_CRYPTO:\tis not set (required for cryptsetup)\n" |
43 |
local WARNING_CRYPTO="CONFIG_CRYPTO:\tis not set (required for cryptsetup)\n" |
42 |
check_extra_config |
44 |
check_extra_config |
43 |
if use python ; then |
45 |
use python && python-single-r1_pkg_setup |
44 |
python_set_active_version 2 |
|
|
45 |
python_pkg_setup |
46 |
fi |
47 |
} |
46 |
} |
48 |
|
47 |
|
49 |
src_prepare() { |
48 |
src_prepare() { |