blob: 96ce524761158d70c77b6682cf8e7c3a3568c81a (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-3.1.ebuild,v 1.1 2007/02/16 00:54:14 pebenito Exp $
inherit autotools
DESCRIPTION="SELinux policy tools"
HOMEPAGE="http://www.tresys.com/selinux/selinux_policy_tools.shtml"
SRC_URI="http://oss.tresys.com/projects/setools/chrome/site/dists/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="X debug"
DEPEND=">=sys-libs/libsepol-1.12.27
sys-libs/libselinux
sys-devel/bison
sys-devel/flex
dev-libs/libxml2
dev-util/pkgconfig
X? (
dev-lang/tk
>=gnome-base/libglade-2.0
)"
RDEPEND=">=sys-libs/libsepol-1.12.27
sys-libs/libselinux
dev-libs/libxml2
X? (
dev-lang/tk
>=dev-tcltk/bwidget-1.4.1
>=gnome-base/libglade-2.0
)"
src_unpack() {
unpack ${A}
cd ${S}
# eautoreconf
}
src_compile() {
cd ${S}
econf \
--disable-selinux-check \
$(use_enable X gui) \
$(use_enable debug)
emake
}
src_install() {
cd ${S}
make DESTDIR=${D} install || die "install failed."
}
|