summaryrefslogtreecommitdiff
blob: fc8a225cb2ae8b7cbc4ac9ac6e895a7a6bb19837 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/integrity/integrity-1.0.ebuild,v 1.5 2006/02/11 11:48:38 nelchael Exp $

IUSE=""

DESCRIPTION="A customizable QT/X11 based window manager."
HOMEPAGE="http://integrity.sourceforge.net"
SRC_URI="mirror://sourceforge/integrity/${P}.tar.gz"

S=${WORKDIR}/${PN}

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

DEPEND="=x11-libs/qt-3*"

src_compile() {
	emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die
}

src_install() {
	make INSTALL_ROOT=${D} install || die "make install failed."

	dodir /usr/share/integrity

	dodir /usr/share/integrity/config
	insinto /usr/share/integrity/config
	newins config/config.xml config.xml.default
	doins config/config.xml
	newins config/deskmenu.xml deskmenu.xml.default
	doins config/deskmenu.xml

	doins config/modules.xml.disabled
	dodir /usr/share/integrity/modules
	insinto /usr/share/integrity/modules
	doins modules/*

	dodir /usr/share/integrity/backgrounds
	insinto /usr/share/integrity/backgrounds
	doins backgrounds/*

	dodir /usr/share/integrity/themes

	#No recursive ability
	cp -r themes/* ${D}/usr/share/integrity/themes

}