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
744 B
25 lines
744 B
8 years ago
|
import 'compile/configure'
|
||
|
|
||
|
name=wine
|
||
|
majver=1.9
|
||
|
version=$majver.19
|
||
|
update_url='https://www.winehq.org/'
|
||
|
update_names="/announce/$version\""
|
||
|
|
||
|
define_option 'wine32=: On x86_64, enable 32bit wine support. Specify the 32bit libdir here.'
|
||
|
|
||
|
dlextract "http://dl.winehq.org/$name/source/$majver/$name-$version.tar.bz2" \
|
||
|
'd9d3794d7394b9a22f7514d63f3a95f1'
|
||
|
header_end
|
||
|
|
||
|
cd "$name-$version"
|
||
|
|
||
|
compile_configure -b ../build -- $([ "$(uname -m)" = 'x86_64' ] && echo --enable-win64)
|
||
|
|
||
|
wine32="$(option =wine32)"
|
||
|
if [ "$wine32" ]; then
|
||
|
PKG_CONFIG_PATH="$dir_sysroot/$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 et:
|