# 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.3.ebuild,v 1.1 2012/06/06 02:53:58 vapier 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 static-libs" 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(+)] >=sys-fs/udev-124[static-libs(+)] >=sys-libs/e2fsprogs-libs-1.41[static-libs(+)]" # We have to always depend on ${LIB_DEPEND} rather than put behind # static? () because we provide a shared library which links against # these other packages. #414665 RDEPEND="static-libs? ( ${LIB_DEPEND} ) ${LIB_DEPEND//\[static-libs(+)]} !