blob: 335585c1d1034d0a82a4e9dfdf20cc5913eadcea (
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
64
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/XWine/XWine-0.2.2.ebuild,v 1.7 2003/03/13 11:57:55 phoenix Exp $
DESCRIPTION="GTK frontend for Wine"
HOMEPAGE="http://darken.tuxfamily.org/pages/xwine_en.html"
SRC_URI="http://darken.tuxfamily.org/projets/${P}_en.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 -ppc -sparc "
IUSE="nls gnome"
DEPEND=">=x11-libs/gtk+-1.2.10-r8
>=net-www/mozilla-1.0-r2
>=app-emulation/wine-20020710-r1
sys-devel/bison
>=gnome-base/gnome-libs-1.4.2
>=gnome-base/ORBit-0.5.17
nls? ( sys-devel/gettext )"
RDEPEND="${DEPEND}
>=app-emulation/winesetuptk-0.6.0b-r2"
S="${WORKDIR}/${P}_en"
src_compile() {
local myconf
use nls && myconf="${myconf} --enable-nls" \
|| myconf="${myconf} --disable-nls"
MOZ="`which mozilla`"
if [ -f ${MOZ} ] ; then
einfo "Setting up src/donnees.h to use mozilla as help browser."
cp -f ${S}/configure.d ${S}/configure
cp -f ${S}/src/donnees.h.in ${S}/src/donnees.h
echo "#define NAVIGATEUR \"${MOZ} -f\"" >> ${S}/src/donnees.h
else
ewarn "Mozilla not found in current PATH."
ewarn "PATH = ${PATH}"
die "Mozilla not found."
fi
econf ${myconf}
emake || die
}
src_install() {
einstall
# Don't need to install docs twice
rm -rf ${D}/usr/share/doc/xwine
dodoc doc/Manual* FAQ* BUGS COPYING AUTHORS ChangeLog NEWS README TODO
}
pkg_postinst() {
einfo "${PN} requires a setup Wine to start....It is recommended"
einfo "that you run winesetuptk prior to running ${PN} to setup"
einfo "a base Wine install"
}
|