diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-02-15 23:28:16 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-02-16 01:38:20 -0300 |
commit | 8d65e832f0a18f60e2040940c80d96373ac8b88c (patch) | |
tree | 3d6ade66b2a81403e3852b80b9e7c660699b6ed6 /pkgs/applications/emulators/wine/builder-wow.sh | |
parent | 19574af0af3ffaf7c9e359744ed32556f34536bd (diff) | |
download | nixpkgs-8d65e832f0a18f60e2040940c80d96373ac8b88c.tar nixpkgs-8d65e832f0a18f60e2040940c80d96373ac8b88c.tar.gz nixpkgs-8d65e832f0a18f60e2040940c80d96373ac8b88c.tar.bz2 nixpkgs-8d65e832f0a18f60e2040940c80d96373ac8b88c.tar.lz nixpkgs-8d65e832f0a18f60e2040940c80d96373ac8b88c.tar.xz nixpkgs-8d65e832f0a18f60e2040940c80d96373ac8b88c.tar.zst nixpkgs-8d65e832f0a18f60e2040940c80d96373ac8b88c.zip |
Move misc/emulators to applications/emulators - part 1
Emulators form a class by themselves. So, they should be moved to applications/.
Diffstat (limited to 'pkgs/applications/emulators/wine/builder-wow.sh')
-rw-r--r-- | pkgs/applications/emulators/wine/builder-wow.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/wine/builder-wow.sh b/pkgs/applications/emulators/wine/builder-wow.sh new file mode 100644 index 00000000000..0dd3194dc53 --- /dev/null +++ b/pkgs/applications/emulators/wine/builder-wow.sh @@ -0,0 +1,31 @@ +## build described at http://wiki.winehq.org/Wine64 + +source $stdenv/setup +preFlags="${configureFlags}" + +unpackPhase +cd $TMP/$sourceRoot +patchPhase + +configureScript=$TMP/$sourceRoot/configure +mkdir -p $TMP/wine-wow $TMP/wine64 + +cd $TMP/wine64 +sourceRoot=`pwd` +configureFlags="${preFlags} --enable-win64" +configurePhase +buildPhase +# checkPhase + +cd $TMP/wine-wow +sourceRoot=`pwd` +configureFlags="${preFlags} --with-wine64=../wine64" +configurePhase +buildPhase +# checkPhase + +eval "$preInstall" +cd $TMP/wine-wow && make install +cd $TMP/wine64 && make install +eval "$postInstall" +fixupPhase |