# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit linux-mod eutils MY_P="${P/_/-}" DESCRIPTION="Your Gateway to File Access Control" HOMEPAGE="http://www.dazuko.org" SRC_URI="http://www.dazuko.org/files/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" S="${WORKDIR}/${MY_P}" CONFIG_CHECK="SECURITY_CAPABILITIES" MODULE_NAMES="dazuko(misc:)" BUILD_TARGETS="dummy_rule" src_unpack() { unpack ${A} epatch "${FILESDIR}/${MY_P}-suspend2.patch" } src_compile() { ./configure --kernelsrcdir=${KERNEL_DIR} || die convert_to_m Makefile linux-mod_src_compile cd library emake cd .. } src_install() { linux-mod_src_install dolib.a library/libdazuko.a insinto /usr/include doins dazukoio.h dodoc COPYING dodoc README dodoc README.linux26 dodoc README.trusted dodoc LICENSE.BSD dodoc LICENSE.GPL }