2015-08-05 23:27:32 +01:00
|
|
|
## build described at http://wiki.winehq.org/Wine64
|
|
|
|
|
2015-04-21 17:00:59 +01:00
|
|
|
source $stdenv/setup
|
2022-01-13 22:59:25 +00:00
|
|
|
preFlags="${configureFlags}"
|
2015-04-21 17:00:59 +01:00
|
|
|
|
|
|
|
unpackPhase
|
2015-05-10 20:33:00 +01:00
|
|
|
cd $TMP/$sourceRoot
|
2015-04-21 17:00:59 +01:00
|
|
|
patchPhase
|
|
|
|
|
|
|
|
configureScript=$TMP/$sourceRoot/configure
|
|
|
|
mkdir -p $TMP/wine-wow $TMP/wine64
|
|
|
|
|
|
|
|
cd $TMP/wine64
|
|
|
|
sourceRoot=`pwd`
|
2022-01-13 22:59:25 +00:00
|
|
|
configureFlags="${preFlags} --enable-win64"
|
2015-04-21 17:00:59 +01:00
|
|
|
configurePhase
|
|
|
|
buildPhase
|
|
|
|
# checkPhase
|
|
|
|
|
|
|
|
cd $TMP/wine-wow
|
|
|
|
sourceRoot=`pwd`
|
2022-01-13 22:59:25 +00:00
|
|
|
configureFlags="${preFlags} --with-wine64=../wine64"
|
2015-04-21 17:00:59 +01:00
|
|
|
configurePhase
|
|
|
|
buildPhase
|
|
|
|
# checkPhase
|
|
|
|
|
|
|
|
eval "$preInstall"
|
|
|
|
cd $TMP/wine-wow && make install
|
2018-03-15 04:00:31 +00:00
|
|
|
cd $TMP/wine64 && make install
|
2015-04-21 17:00:59 +01:00
|
|
|
eval "$postInstall"
|
|
|
|
fixupPhase
|