blob: b91ffae35c413a83d1eea555d3f4ee0728d7eee6 (
plain)
1 # Description: WINE - Implementation of Windows DLL's and core.
2 # URL: http://www.winehq.com/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Daniel Walpole, daniel at walpole dot id dot au
5 # Depends on: fontconfig-32 freeglut-32 xorg-libxcomposite-32 xorg-libxcursor-32 xorg-libxinerama-32 xorg-libxrandr-32 xorg-libxxf86dga-32 alsa-lib-32 libpng-32 libjpeg-32 prelink gnutls-32
6
7 name=wine
8 version=1.7.14
9 release=1
10 source=(http://downloads.sourceforge.net/wine/$name-$version.tar.bz2
11 http://downloads.sourceforge.net/wine/wine_gecko-2.24-x86.msi
12 http://downloads.sourceforge.net/wine/wine_gecko-2.24-x86_64.msi
13 http://downloads.sourceforge.net/wine/wine-mono-4.5.2.msi)
14
15 build() {
16 install -d wine32 wine64
17
18 cd wine64
19
20 ../$name-$version/configure \
21 --prefix=/usr \
22 --libdir=/usr/lib \
23 --mandir=/usr/man \
24 --enable-win64
25
26 make depend
27 make
28 make DESTDIR=$PKG install
29
30 cd ../wine32
31 CFLAGS="${CFLAGS} -m32"
32 CXXFLAGS="${CXXFLAGS} -m32"
33 LDFLAGS="${LDFLAGS} -m32"
34 export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig"
35
36 ../$name-$version/configure \
37 --prefix=/usr \
38 --mandir=/usr/man \
39 --libdir=/usr/lib32 \
40 --x-includes=/usr/include/X11 \
41 --x-libraries=/usr/lib32 \
42 --cache-file=config.cache \
43 --with-wine64=../wine64
44
45 make depend
46 make
47 make DESTDIR=$PKG install
48
49 install -d $PKG/usr/share/wine/gecko
50 install -d $PKG/usr/share/wine/mono
51
52 install -t $PKG/usr/share/wine/gecko/ \
53 $SRC/wine_gecko-2.24-x86.msi \
54 $SRC/wine_gecko-2.24-x86_64.msi
55
56 install $SRC/wine-mono-4.5.2.msi $PKG/usr/share/wine/mono/
57
58 rm -r $PKG/usr/man/??.UTF-8
59 }
|