2005-12-05 15:11:09 +01:00
|
|
|
source $stdenv/setup
|
|
|
|
source $makeWrapper
|
2005-02-25 23:23:03 +01:00
|
|
|
|
2005-03-09 18:49:19 +01:00
|
|
|
export MONO_GAC_PREFIX=$monodoc:$gtksharp
|
|
|
|
|
2005-03-09 18:54:42 +01:00
|
|
|
postInstall() {
|
|
|
|
mv $out/bin $out/bin-orig
|
|
|
|
mkdir $out/bin
|
|
|
|
|
2005-03-09 20:08:21 +01:00
|
|
|
moz=$(ls $mozilla/lib/*/libgtkembedmoz.so)
|
|
|
|
|
2005-03-09 18:54:42 +01: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 20:08:21 +01:00
|
|
|
--suffix PATH ':' "$(dirname $(type -p mono))" \
|
2005-03-09 18:54:42 +01: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 20:08:21 +01:00
|
|
|
--suffix MONO_GAC_PREFIX ':' "$monodoc" \
|
|
|
|
--set MOZILLA_FIVE_HOME "$(dirname $moz)"
|
2005-03-09 18:54:42 +01:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2005-02-25 23:23:03 +01:00
|
|
|
genericBuild
|
|
|
|
|