blob: 438f74043df918b51497446330491bfb8b9a1850 (
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
63
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-office-pro-bin/crossover-office-pro-bin-9.2.0.ebuild,v 1.6 2014/10/15 12:42:18 pacho Exp $
EAPI=5
inherit unpacker
DESCRIPTION="simplified/streamlined version of wine with commercial support"
HOMEPAGE="http://www.codeweavers.com/products/cxoffice/"
SRC_URI="install-crossover-pro-${PV}.sh"
LICENSE="CROSSOVER"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE="nas"
RESTRICT="fetch strip"
RDEPEND="
dev-util/desktop-file-utils
sys-libs/glibc
|| (
(
x11-libs/libXrandr[abi_x86_32(-)]
x11-libs/libXi[abi_x86_32(-)]
x11-libs/libXmu[abi_x86_32(-)]
x11-libs/libXxf86dga[abi_x86_32(-)]
x11-libs/libXxf86vm[abi_x86_32(-)]
|| ( virtual/jpeg:62[abi_x86_32(-)] media-libs/jpeg:62[abi_x86_32(-)] )
media-libs/libpng:1.2[abi_x86_32(-)]
nas? ( media-libs/nas[abi_x86_32(-)] )
)
amd64? (
app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
)
)
"
DEPEND=""
S=${WORKDIR}
pkg_nofetch() {
einfo "Please visit ${HOMEPAGE}"
einfo "and place ${A} in ${DISTDIR}"
}
src_unpack() {
unpack_makeself # needed due to .sh extension; #415013
}
src_install() {
dodir /opt/cxoffice
cp -r * "${D}"/opt/cxoffice || die "cp failed"
rm -r "${D}"/opt/cxoffice/setup.{sh,data}
insinto /opt/cxoffice/etc
doins share/crossover/data/cxoffice.conf
}
pkg_postinst() {
elog "Run /opt/cxoffice/bin/cxsetup as normal user to create"
elog "bottles and install Windows applications."
}
|