# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.4.1.ebuild,v 1.2 2011/11/13 16:32:08 vapier Exp $ EAPI="2" inherit linux-info libtool MY_P=${P/_rc/-rc} DESCRIPTION="Tool to setup encrypted devices with dm-crypt" HOMEPAGE="http://code.google.com/p/cryptsetup/" SRC_URI="http://cryptsetup.googlecode.com/files/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="nls selinux +static" S=${WORKDIR}/${MY_P} RDEPEND="!=dev-libs/libgcrypt-1.1.42 dev-libs/libgpg-error >=dev-libs/popt-1.7 >=sys-apps/util-linux-2.17.2 >=sys-fs/lvm2-2.02.64 ) >=sys-fs/udev-124 >=sys-libs/e2fsprogs-libs-1.41 selinux? ( sys-libs/libselinux ) !sys-fs/cryptsetup-luks" DEPEND="${RDEPEND} static? ( >=dev-libs/libgpg-error-1.10[static-libs] >=dev-libs/popt-1.16-r1[static-libs] || ( >=sys-apps/util-linux-2.20[static-libs] =sys-fs/lvm2-2.02.88[static-libs]