mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
7219a09001
* rss-glx: fixed the build. * Removed the OpenGL wrapper stuff, it's no longer needed (thanks to the RUNPATH you just need to put the appropriate libGL.so in the LD_LIBRARY_PATH). svn path=/nixpkgs/trunk/; revision=12093
14 lines
237 B
Bash
14 lines
237 B
Bash
source $stdenv/setup
|
|
|
|
ensureDir $out/bin
|
|
|
|
cat > $out/bin/ut2004demo <<EOF
|
|
#! $SHELL -e
|
|
|
|
cd $raw/System
|
|
|
|
LD_LIBRARY_PATH=$libX11/lib:$libXext/lib\${LD_LIBRARY_PATH:+:}\$LD_LIBRARY_PATH ./ut2004-bin "\$@"
|
|
EOF
|
|
|
|
chmod +x $out/bin/ut2004demo
|