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