2015-04-21 18:00:59 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-08-06 00:27:32 +02:00
|
|
|
## build described at http://wiki.winehq.org/Wine64
|
|
|
|
|
2015-04-21 18:00:59 +02:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
unpackPhase
|
2015-05-10 21:33:00 +02:00
|
|
|
cd $TMP/$sourceRoot
|
2015-04-21 18:00:59 +02:00
|
|
|
patchPhase
|
|
|
|
|
|
|
|
configureScript=$TMP/$sourceRoot/configure
|
|
|
|
mkdir -p $TMP/wine-wow $TMP/wine64
|
|
|
|
|
|
|
|
cd $TMP/wine64
|
|
|
|
sourceRoot=`pwd`
|
|
|
|
configureFlags="--enable-win64"
|
|
|
|
configurePhase
|
|
|
|
buildPhase
|
|
|
|
# checkPhase
|
|
|
|
|
|
|
|
cd $TMP/wine-wow
|
|
|
|
sourceRoot=`pwd`
|
|
|
|
configureFlags="--with-wine64=../wine64"
|
|
|
|
configurePhase
|
|
|
|
buildPhase
|
|
|
|
# checkPhase
|
|
|
|
|
|
|
|
eval "$preInstall"
|
|
|
|
cd $TMP/wine64 && make install
|
|
|
|
cd $TMP/wine-wow && make install
|
|
|
|
eval "$postInstall"
|
|
|
|
fixupPhase
|