glew: Symlink $out/lib64 to $out/lib.

Some packages tend to look into $out/lib only, which is the default in Nix
anyway as we don't need that lib32/lib64 separation.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2012-12-12 04:26:24 +01:00
parent c22d51d6f1
commit b5154a0222
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -15,8 +15,14 @@ stdenv.mkDerivation rec {
mkdir -pv \$out/share/doc/glew
cp -r README.txt LICENSE.txt doc \$out/share/doc/glew
";
meta = {
postFixup = ''
if [ -d "$out/lib64" ]; then
ln -s lib64 "$out/lib"
fi
'';
meta = {
description = "Cross-platform open-source C/C++ extension loading library";
homepage = http://glew.sourceforge.net/;
license = ["BSD" "GLX" "SGI-B" "GPL2"]; # License description copied from gentoo-1.4.0