162c633191
With the introducation of binary packages for i386-wine-devel the port itself is largely complete (although there are still problems with 3D acceleration, both with and without nVidia).
20 lines
497 B
Bash
20 lines
497 B
Bash
#!/bin/sh
|
|
|
|
TARGET="`realpath $0`"
|
|
|
|
LOCALBASE=${TARGET%/*}/..
|
|
BINNAME=${TARGET##*/}
|
|
|
|
if [ -z "$__BINBOUNCE_BOOTSTRAP" ]
|
|
then
|
|
export LIBGL_DRIVERS_PATH=$LOCALBASE/lib32/dri
|
|
if [ `uname -p` = i386 ]
|
|
then
|
|
export LD_LIBRARY_PATH="$LOCALBASE/lib32":"$LOCALBASE/lib32/wine":"$LD_LIBRARY_PATH"
|
|
else
|
|
export LD_32_LIBRARY_PATH="$LOCALBASE/lib32":"$LOCALBASE/lib32/wine":"$LD_32_LIBRARY_PATH":/usr/lib32
|
|
fi
|
|
export PATH="$LOCALBASE/bin32":"$PATH"
|
|
fi
|
|
|
|
exec "$LOCALBASE/bin32/$BINNAME" "$@"
|