You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emulation/crossover-office-pro-bin/crossover-office-pro-bin-9....

54 lines
1.3 KiB

# Copyright 1999-2012 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.4 2012/05/10 02:12:32 tetromino Exp $
EAPI="3"
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="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 )
media-libs/jpeg:62
media-libs/libpng:1.2"
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."
}