1 |
# Copyright 1999-2011 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/gworkspace/gworkspace-0.8.8.ebuild,v 1.1 2010/07/01 09:21:42 voyageur Exp $ |
4 |
|
5 |
EAPI=3 |
6 |
inherit gnustep-2 |
7 |
|
8 |
DESCRIPTION="A workspace manager for GNUstep" |
9 |
HOMEPAGE="http://www.gnustep.org/experience/GWorkspace.html" |
10 |
SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/usr-apps/${P}.tar.gz" |
11 |
|
12 |
KEYWORDS="~amd64 ~ppc ~x86" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
15 |
|
16 |
IUSE="" |
17 |
|
18 |
# GWMetadata compilation broken for now |
19 |
#DEPEND=">=gnustep-apps/systempreferences-1.0.1_p24791 |
20 |
# >=dev-db/sqlite-3.2.8" |
21 |
#RDEPEND="${DEPEND}" |
22 |
|
23 |
src_configure() { |
24 |
local myconf="" |
25 |
use kernel_linux && myconf="${myconf} --with-inotify" |
26 |
|
27 |
egnustep_env |
28 |
econf --disable-gwmetadata ${myconf} |
29 |
} |
30 |
|
31 |
src_install() { |
32 |
egnustep_env |
33 |
egnustep_install |
34 |
|
35 |
if use doc; |
36 |
then |
37 |
dodir /usr/share/doc/${PF} |
38 |
cp "${S}"/Documentation/*.pdf "${D}"/usr/share/doc/${PF} |
39 |
fi |
40 |
} |