Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
882 B

import 'compile/configure'
name=wine
version=3.8
8 years ago
define_option 'wine32=: On x86_64, enable 32bit wine support. Specify the 32bit libdir here'
dlextract "http://dl.winehq.org/$name/source/3.x/$name-$version.tar.xz" \
'db0795b1d736a748d16397aecbbabc8e'
dlextract "https://github.com/$name-staging/$name-staging/archive/v$version/$name-staging-$version.tar.gz" \
'7f6aaeec8c3b71a6db573b7e79c1240b'
_
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: