diff options
author | Sebastián Salazar Molina <ssalazar@orangepeople.cl> | 2010-10-11 22:49:49 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-10-11 22:49:49 -0500 |
commit | ad50c757ea7c53a3e47ebb3ca21b74b5fcfdca39 (patch) | |
tree | 02d3309d5d6fc9d93f2182b90fcfeca8c60f7682 /development/mono/mono.SlackBuild | |
parent | 36edf7d178aac3bad4059f0d2f4744207399db86 (diff) |
development/mono: Updated for version 2.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/mono/mono.SlackBuild')
-rw-r--r-- | development/mono/mono.SlackBuild | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/development/mono/mono.SlackBuild b/development/mono/mono.SlackBuild index 13e4a0724f3c9..2ea676e849219 100644 --- a/development/mono/mono.SlackBuild +++ b/development/mono/mono.SlackBuild @@ -4,7 +4,7 @@ # Written by Sebastián Salazar Molina <ssalazar@orangepeople.cl> PRGNAM=mono -VERSION=${VERSION:-2.6.7} +VERSION=${VERSION:-2.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,24 +64,26 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -# There's still something braindead in here that doesn't grok --mandir -mv $PKG/usr/share/man/man1/* $PKG/usr/man/man1 ; rm -rf $PKG/usr/share/man -gzip -9 $PKG/usr/man/man?/*.? +find $PKG/usr/man -type f -exec gzip -9 {} \; # Don't clobber the config files -mv $PKG/etc/mono/config $PKG/etc/mono/config.new -mv $PKG/etc/mono/mconfig/config.xml $PKG/etc/mono/mconfig/config.xml.new -mv $PKG/etc/mono/1.0/machine.config $PKG/etc/mono/1.0/machine.config.new -mv $PKG/etc/mono/1.0/DefaultWsdlHelpGenerator.aspx \ - $PKG/etc/mono/1.0/DefaultWsdlHelpGenerator.aspx.new -mv $PKG/etc/mono/browscap.ini $PKG/etc/mono/browscap.ini.new -mv $PKG/etc/mono/2.0/settings.map $PKG/etc/mono/2.0/settings.map.new -mv $PKG/etc/mono/2.0/machine.config $PKG/etc/mono/2.0/machine.config.new -mv $PKG/etc/mono/2.0/Browsers/Compat.browser \ - $PKG/etc/mono/2.0/Browsers/Compat.browser.new -mv $PKG/etc/mono/2.0/web.config $PKG/etc/mono/2.0/web.config.new -mv $PKG/etc/mono/2.0/DefaultWsdlHelpGenerator.aspx \ - $PKG/etc/mono/2.0/DefaultWsdlHelpGenerator.aspx.new +( cd $PKG/etc/mono + + mv config config.new + mv browscap.ini browscap.ini.new + mv mconfig/config.xml mconfig/config.xml.new + + mv 2.0/settings.map 2.0/settings.map.new + mv 2.0/machine.config 2.0/machine.config.new + mv 2.0/web.config 2.0/web.config.new + mv 2.0/Browsers/Compat.browser 2.0/Browsers/Compat.browser.new + mv 2.0/DefaultWsdlHelpGenerator.aspx 2.0/DefaultWsdlHelpGenerator.aspx.new + + mv 4.0/DefaultWsdlHelpGenerator.aspx 4.0/DefaultWsdlHelpGenerator.aspx.new + mv 4.0/machine.config 4.0/machine.config.new + mv 4.0/settings.map 4.0/settings.map.new + mv 4.0/web.config 4.0/web.config.new +) find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |