import 'compile/configure' name=wine version=2.21 define_option 'wine32=: On x86_64, enable 32bit wine support. Specify the 32bit libdir here' dlextract "http://dl.winehq.org/$name/source/2.x/$name-$version.tar.xz" \ '8abd5a7e17b77a916b053fcf3b3bcd4a' dlextract "https://github.com/$name-compholio/$name-staging/archive/v$version/$name-staging-$version.tar.gz" \ 'dff8ff1d716aa6d347aa4cfc195b5918' _ cd "$name-$version" "../$name-staging-$version/patches/patchinstall.sh" DESTDIR="$PWD" --all compile_configure -b build -- $([ "$(uname -m)" = 'x86_64' ] && echo --enable-win64) wine32="$(option =wine32)" if [ "$(uname -m)" = 'x86_64' -a "$wine32" ]; then PKG_CONFIG_PATH="/$dir_prefix/$wine32/pkgconfig" compile_configure -b build-wine32 -- --with-wine64=../build --libdir="/$dir_prefix/$wine32" fi # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: