8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
30 lines
531 B
Bash
30 lines
531 B
Bash
## build described at http://wiki.winehq.org/Wine64
|
|
|
|
source $stdenv/setup
|
|
|
|
unpackPhase
|
|
cd $TMP/$sourceRoot
|
|
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/wine-wow && make install
|
|
cd $TMP/wine64 && make install
|
|
eval "$postInstall"
|
|
fixupPhase
|