blob: 2067cc0e4ff27a29066be39c5b0fa490a11c66d7 [file] [log] [blame]
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/keyutils-1.1.ebuild,v 1.2 2006/11/26 10:25:32 peper Exp $
EAPI=4
inherit eutils multilib
DESCRIPTION="Linux Key Management Utilities"
HOMEPAGE="http://www.kernel.org/"
SRC_URI="http://people.redhat.com/~dhowells/${PN}/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="*"
IUSE=""
DEPEND=">=sys-kernel/linux-headers-2.6.11"
#RDEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-installdir.patch"
}
src_compile() {
tc-getCC
emake CFLAGS="-Wall ${CFLAGS}" NO_ARLIB=0
}
src_install() {
emake install DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" USRLIBDIR="/usr/$(get_libdir)" NO_ARLIB=0
dodoc README
}