From cb71b658df3e6d4ea921600feb7f5f9952d19d5a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 1 Mar 2005 23:05:56 +0000 Subject: cleanup ebuild to not suck as much and add arm/hppa/ia64/s390 #83684 Package-Manager: portage-2.0.51.18 --- sys-fs/cryptsetup/Manifest | 2 +- sys-fs/cryptsetup/cryptsetup-0.1.ebuild | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'sys-fs') diff --git a/sys-fs/cryptsetup/Manifest b/sys-fs/cryptsetup/Manifest index f56f91662f74..2af80df204d8 100644 --- a/sys-fs/cryptsetup/Manifest +++ b/sys-fs/cryptsetup/Manifest @@ -1,4 +1,4 @@ -MD5 44c53c387e61758e2a194a7bcaed884a cryptsetup-0.1.ebuild 1131 MD5 4b394b3a2ae28d2ab9d1e08e5fa32ebd ChangeLog 901 +MD5 ce05c82b34956de5608a31a5ef6d3606 cryptsetup-0.1.ebuild 1154 MD5 5be5a7266a46591bb4db0cacd9ac8af3 metadata.xml 226 MD5 959c303c3bfeab6c12e28ae4e16400b3 files/digest-cryptsetup-0.1 67 diff --git a/sys-fs/cryptsetup/cryptsetup-0.1.ebuild b/sys-fs/cryptsetup/cryptsetup-0.1.ebuild index 30cda08e1226..9c4e63db54aa 100644 --- a/sys-fs/cryptsetup/cryptsetup-0.1.ebuild +++ b/sys-fs/cryptsetup/cryptsetup-0.1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-0.1.ebuild,v 1.7 2005/03/01 14:57:50 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-0.1.ebuild,v 1.8 2005/03/01 23:05:56 vapier Exp $ + +inherit kernel-mod DESCRIPTION="Tool to setup encrypted devices with dm-crypt" HOMEPAGE="http://www.saout.de/misc/dm-crypt/" @@ -8,18 +10,16 @@ SRC_URI="http://www.saout.de/misc/dm-crypt/${PN}-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc amd64" - -DEPEND=">=sys-libs/device-mapper-1.00.07-r1 - >=dev-libs/libgcrypt-1.1.42" - +KEYWORDS="amd64 arm hppa ia64 ppc s390 x86" IUSE="" +DEPEND=">=sys-fs/device-mapper-1.00.07-r1 + >=dev-libs/libgcrypt-1.1.42" + S=${WORKDIR}/${PN}-${PV} pkg_setup() { - if ! grep CONFIG_DM_CRYPT /usr/src/linux/.config > /dev/null 2>&1 - then + if ! kernel-mod_configoption_present CONFIG_DM_CRYPT ; then ewarn "dm-crypt is not enabled in /usr/src/linux/.config" ewarn "please see $HOMEPAGE" ewarn "for details on how to enable dm-crypt for your kernel" @@ -27,17 +27,17 @@ pkg_setup() { } src_compile() { - cd ${S} - - econf --bindir=/bin --disable-nls|| die + econf --bindir=/bin --disable-nls || die - sed -i -e 's|-lgcrypt|/usr/lib/libgcrypt.a|' Makefile src/Makefile - sed -i -e 's|-lgpg-error|/usr/lib/libgpg-error.a|' Makefile src/Makefile + sed -i \ + -e 's|-lgcrypt|/usr/lib/libgcrypt.a|' \ + -e 's|-lgpg-error|/usr/lib/libgpg-error.a|' \ + Makefile src/Makefile sed -i -e 's|-lpopt|/usr/lib/libpopt.a|' src/Makefile emake || die } src_install() { - make DESTDIR=${D} install + make DESTDIR="${D}" install || die "install failed" } -- cgit v1.2.3-65-gdbad