| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 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.4.1.ebuild,v 1.9 2012/05/11 08:31:51 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.4.1.ebuild,v 1.10 2012/05/21 07:55:41 ssuominen Exp $ |
| 4 | |
4 | |
| 5 | EAPI="2" |
5 | EAPI="2" |
| 6 | |
6 | |
| 7 | inherit linux-info libtool |
7 | inherit linux-info libtool |
| 8 | |
8 | |
| … | |
… | |
| 35 | >=dev-libs/libgpg-error-1.10[static-libs] |
35 | >=dev-libs/libgpg-error-1.10[static-libs] |
| 36 | >=dev-libs/popt-1.16-r1[static-libs] |
36 | >=dev-libs/popt-1.16-r1[static-libs] |
| 37 | || ( >=sys-apps/util-linux-2.20[static-libs] <sys-apps/util-linux-2.20 ) |
37 | || ( >=sys-apps/util-linux-2.20[static-libs] <sys-apps/util-linux-2.20 ) |
| 38 | dev-libs/libgcrypt[static-libs] |
38 | dev-libs/libgcrypt[static-libs] |
| 39 | || ( >=sys-fs/lvm2-2.02.88[static-libs] <sys-fs/lvm2-2.02.88 ) |
39 | || ( >=sys-fs/lvm2-2.02.88[static-libs] <sys-fs/lvm2-2.02.88 ) |
| 40 | || ( >=sys-fs/udev-182[static-libs] <=sys-fs/udev-171-r5 ) |
40 | || ( >=sys-fs/udev-182[static-libs] <=sys-fs/udev-171-r6 ) |
| 41 | )" |
41 | )" |
| 42 | |
42 | |
| 43 | pkg_setup() { |
43 | pkg_setup() { |
| 44 | local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC" |
44 | local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC" |
| 45 | local WARNING_DM_CRYPT="CONFIG_DM_CRYPT:\tis not set (required for cryptsetup)\n" |
45 | local WARNING_DM_CRYPT="CONFIG_DM_CRYPT:\tis not set (required for cryptsetup)\n" |