blob: 2fff13714e9169d7303fa52866f69f696d4b0257 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/winex-doc/winex-doc-20020511.ebuild,v 1.2 2002/07/11 06:30:11 drobbins Exp $
S=${WORKDIR}/wine
DESCRIPTION="WineX is a distribution of Wine with enhanced DirectX for gaming"
SRC_URI="ftp:/www.ibiblio.org/gentoo/distfiles/winex-$PV.tar.bz2"
HOMEPAGE="http://www.transgaming.com/"
DEPEND=""
src_compile() {
cd ${S}
local myconf
use opengl && myconf="--enable-opengl" || myconf="--disable-opengl"
[ -z $DEBUG ] && myconf="$myconf --disable-trace --disable-debug" || myconf="$myconf --enable-trace --enable-debug"
# there's no configure flag for cups, it's supposed to be autodetected
# the folks at #winehq were really angry about custom optimization
export CFLAGS=""
export CXXFLAGS=""
./configure --prefix=/usr \
--exec_prefix=/usr/winex \
--sysconfdir=/etc/winex \
--mandir=/usr/winex/man \
--host=${CHOST} \
--enable-curses \
${myconf} || die
cd ${S}/programs/winetest
cp Makefile 1
sed -e 's:wine.pm:include/wine.pm:' 1 > Makefile
cd ${S}
make manpages || die
}
src_install () {
cd ${S}/documentation
DESTTREE=/usr/winex doman man3w/*
# sgml was being filtered without -a sgml
dohtml -a sgml *.sgml
insinto /etc/env.d
doins ${FILESDIR}/81winex-doc
}
|