Difference between revisions of "Wine"

From CBLFS
Jump to navigationJump to search
(50-wine.sh)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/wine/wine-0.9.23.tar.bz2
+
| http://prdownloads.sourceforge.net/wine/wine-0.9.24.tar.bz2
 
|}
 
|}
  
Line 36: Line 36:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/opt/wine-0.9.23 &&
+
  ./configure --prefix=/opt/wine-0.9.24 &&
 
  make depend
 
  make depend
 
  make
 
  make
Line 43: Line 43:
  
 
  make install &&
 
  make install &&
  ln -sv wine-0.9.23 /opt/wine
+
  ln -sv wine-0.9.24 /opt/wine
  
 
== Multilib x86_64 ==
 
== Multilib x86_64 ==
Line 52: Line 52:
  
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
  ./configure --prefix=/opt/wine-0.9.23 &&
+
  ./configure --prefix=/opt/wine-0.9.24 &&
 
  make depend
 
  make depend
 
  make
 
  make
Line 59: Line 59:
  
 
  make install &&
 
  make install &&
  ln -sv wine-0.9.23 /opt/wine
+
  ln -sv wine-0.9.24 /opt/wine
  
 
=== For running 64bit apps ===
 
=== For running 64bit apps ===
Line 66: Line 66:
  
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
  ./configure --prefix=/opt/wine-0.9.23 --enable-win64 &&
+
  ./configure --prefix=/opt/wine-0.9.24 --enable-win64 &&
 
  make depend
 
  make depend
 
  make
 
  make
Line 73: Line 73:
  
 
  make install &&
 
  make install &&
  ln -sv wine-0.9.23 /opt/wine
+
  ln -sv wine-0.9.24 /opt/wine
  
 
== Configuration ==
 
== Configuration ==
Line 91: Line 91:
  
 
Simple config
 
Simple config
  /opt/wine/winecfg
+
  /opt/wine/bin/winecfg

Revision as of 19:43, 27 October 2006

Download Source: http://prdownloads.sourceforge.net/wine/wine-0.9.24.tar.bz2

Remember that Wine is not an emulator therefore it will only work on x86 or x86_64 Multilib systems.

Dependencies

Required

Recomended

Optional

Non-Multilib x86

Compile the package:

./configure --prefix=/opt/wine-0.9.24 &&
make depend
make

Install the package

make install &&
ln -sv wine-0.9.24 /opt/wine

Multilib x86_64

For running 32bit apps

Compile the package:

PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=/opt/wine-0.9.24 &&
make depend
make

Install the package

make install &&
ln -sv wine-0.9.24 /opt/wine

For running 64bit apps

Compile the package:

PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=/opt/wine-0.9.24 --enable-win64 &&
make depend
make

Install the package

make install &&
ln -sv wine-0.9.24 /opt/wine

Configuration

50-wine.sh

If you're using the Bash Startup Files create an addition for them with the following command:

cat > /etc/profile.d/50-wine.sh << "EOF"
# Begin /etc/profile.d/50-wine.sh

export PATH="${PATH}:/opt/wine/bin"
export XDG_DATA_DIRS="${XDG_DATA_DIRS}${XDG_DATA_DIRS+:}/opt/wine/share"

# End /etc/profile.d/50-wine.sh
EOF

Simple config

/opt/wine/bin/winecfg