2020-04-24 23:36:52 +00:00
|
|
|
## build described at http://wiki.winehq.org/Wine64
|
|
|
|
|
|
|
|
source $stdenv/setup
|
2022-01-25 03:21:06 +00:00
|
|
|
preFlags="${configureFlags}"
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
unpackPhase
|
|
|
|
cd $TMP/$sourceRoot
|
|
|
|
patchPhase
|
|
|
|
|
|
|
|
configureScript=$TMP/$sourceRoot/configure
|
|
|
|
mkdir -p $TMP/wine-wow $TMP/wine64
|
|
|
|
|
|
|
|
cd $TMP/wine64
|
|
|
|
sourceRoot=`pwd`
|
2022-01-25 03:21:06 +00:00
|
|
|
configureFlags="${preFlags} --enable-win64"
|
2020-04-24 23:36:52 +00:00
|
|
|
configurePhase
|
|
|
|
buildPhase
|
|
|
|
# checkPhase
|
|
|
|
|
|
|
|
cd $TMP/wine-wow
|
|
|
|
sourceRoot=`pwd`
|
2022-01-25 03:21:06 +00:00
|
|
|
configureFlags="${preFlags} --with-wine64=../wine64"
|
2020-04-24 23:36:52 +00:00
|
|
|
configurePhase
|
|
|
|
buildPhase
|
|
|
|
# checkPhase
|
|
|
|
|
|
|
|
eval "$preInstall"
|
|
|
|
cd $TMP/wine-wow && make install
|
|
|
|
cd $TMP/wine64 && make install
|
|
|
|
eval "$postInstall"
|
|
|
|
fixupPhase
|