summaryrefslogtreecommitdiff
blob: 6b7aab8197328abb4b133bbce1b36e2d7aa17e3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:  $

inherit distutils

DESCRIPTION="Gentoo Kernel Security"
HOMEPAGE="http://dev.gentoo.org/~asym/guide.xml"

if [[ ${PV} == "9999" ]] ; then
	EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/kernel-check.git"
	inherit git
	KEYWORDS=""
else
	SRC_URI="http://dev.gentoo.org/~asym/${P}.tar.bz2"
	KEYWORDS="~amd64 ~x86"
fi

LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""

DEPEND=""
RDEPEND=""

DOCS="TODO"

src_unpack() {
        unpack ${A}
#	cd "${S}"
	epatch "${FILESDIR}/${P}-kerneldir.patch"
}

src_install() {
	distutils_src_install
}