# Copyright 1999-2012 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-r1.ebuild,v 1.6 2012/11/29 00:15:27 ssuominen Exp $ EAPI="4" 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} LIB_DEPEND="dev-libs/libgpg-error[static-libs(+)] >=dev-libs/popt-1.7[static-libs(+)] >=sys-apps/util-linux-2.17.2[static-libs(+)] >=dev-libs/libgcrypt-1.1.42[static-libs(+)] >=sys-fs/lvm2-2.02.64[static-libs(+)] virtual/udev[static-libs(+)] >=sys-libs/e2fsprogs-libs-1.41[static-libs(+)]" RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) !