blob: 6549de24671caf505499123fc2116844955079f8 (
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
58
59
60
61
62
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/gworkspace/gworkspace-0.8.6.ebuild,v 1.3 2007/10/17 18:22:56 opfer Exp $
inherit autotools gnustep-2
S=${WORKDIR}/${P/gw/GW}
DESCRIPTION="A workspace manager for GNUstep"
HOMEPAGE="http://www.gnustep.it/enrico/gworkspace/"
SRC_URI="http://www.gnustep.it/enrico/gworkspace/${P}.tar.gz"
KEYWORDS="~amd64 ~ppc x86"
LICENSE="GPL-2"
SLOT="0"
IUSE="pdf"
DEPEND="pdf? ( gnustep-libs/popplerkit )
>=gnustep-apps/systempreferences-1.0.1_p24791
>=dev-db/sqlite-3.2.8"
RDEPEND="!gnustep-apps/desktop
!gnustep-apps/recycler"
src_unpack() {
unpack ${A}
cd "${S}"
epatch ${FILESDIR}/${P}-rpath.patch
epatch ${FILESDIR}/${P}-popplerkit.patch
cd Inspector
eautoreconf || die "failed running autoreconf"
}
src_compile() {
local myconf=""
use kernel_linux && myconf="${myconf} --with-inotify"
egnustep_env
econf ${myconf}
egnustep_make
cd "${S}"/GWMetadata
econf || die "GWMetadata configure failed"
egnustep_make || die "GWMetadata make failed"
}
src_install() {
egnustep_env
egnustep_install
cd "${S}"/GWMetadata
egnustep_install
if use doc;
then
dodir /usr/share/doc/${PF}
cp "${S}"/Documentation/*.pdf "${D}"/usr/share/doc/${PF}
fi
}
|