2005-12-05 17:11:09 +03:00
|
|
|
source $stdenv/setup
|
|
|
|
source $makeWrapper
|
2005-02-26 01:23:03 +03:00
|
|
|
|
2005-03-09 20:49:19 +03:00
|
|
|
export MONO_GAC_PREFIX=$monodoc:$gtksharp
|
|
|
|
|
2005-03-09 20:54:42 +03:00
|
|
|
postInstall=postInstall
|
|
|
|
postInstall() {
|
|
|
|
mv $out/bin $out/bin-orig
|
|
|
|
mkdir $out/bin
|
|
|
|
|
2005-03-09 22:08:21 +03:00
|
|
|
moz=$(ls $mozilla/lib/*/libgtkembedmoz.so)
|
|
|
|
|
2005-03-09 20:54:42 +03:00
|
|
|
for i in $out/bin-orig/*; do
|
|
|
|
echo "wrapping $(basename $i)"
|
|
|
|
# !!! TODO: figure out the MONO_GAC_PREFIX automatically
|
|
|
|
makeWrapper "$i" "$out/bin/$(basename $i)" \
|
2005-03-09 22:08:21 +03:00
|
|
|
--suffix PATH ':' "$(dirname $(type -p mono))" \
|
2005-03-09 20:54:42 +03:00
|
|
|
--suffix PATH ':' "$(dirname $(type -p mono))" \
|
|
|
|
--suffix LD_LIBRARY_PATH ':' "$gtksharp/lib" \
|
|
|
|
--suffix MONO_GAC_PREFIX ':' "$gtksharp" \
|
|
|
|
--suffix MONO_GAC_PREFIX ':' "$gtkmozembedsharp" \
|
|
|
|
--suffix MONO_GAC_PREFIX ':' "$gtksourceviewsharp" \
|
2005-03-09 22:08:21 +03:00
|
|
|
--suffix MONO_GAC_PREFIX ':' "$monodoc" \
|
|
|
|
--set MOZILLA_FIVE_HOME "$(dirname $moz)"
|
2005-03-09 20:54:42 +03:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2005-02-26 01:23:03 +03:00
|
|
|
genericBuild
|
|
|
|
|