f71c9b1c16
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@734 6952d904-891a-0410-993b-d76249ca496b
51 lines
1.3 KiB
Bash
51 lines
1.3 KiB
Bash
# Copyright 1999-2007 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-6.2.0.ebuild,v 1.2 2007/12/27 21:30:54 vapier Exp $
|
|
|
|
inherit eutils
|
|
|
|
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="sys-libs/glibc
|
|
x11-libs/libXrandr
|
|
x11-libs/libXi
|
|
x11-libs/libXmu
|
|
x11-libs/libXxf86dga
|
|
x11-libs/libXxf86vm
|
|
dev-util/desktop-file-utils
|
|
nas? ( media-libs/nas )
|
|
amd64? ( app-emulation/emul-linux-x86-xlibs )"
|
|
|
|
S=${WORKDIR}
|
|
|
|
pkg_nofetch() {
|
|
einfo "Please visit ${HOMEPAGE}"
|
|
einfo "and place ${A} in ${DISTDIR}"
|
|
}
|
|
|
|
src_unpack() {
|
|
unpack_makeself
|
|
}
|
|
|
|
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
|
|
make_desktop_entry /opt/cxoffice/bin/cxsetup "Crossover Office Setup" /opt/cxoffice/share/icons/crossover.xpm 'Office;PackageManager'
|
|
}
|
|
|
|
pkg_postinst() {
|
|
elog "Run /opt/cxoffice/bin/cxsetup as normal user to create"
|
|
elog "bottles and install Windows applications."
|
|
}
|