diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-12 17:38:40 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:38:40 +0200 |
commit | 5a4a1303d13e25b8c2e9bd6f867d50a873a06858 (patch) | |
tree | 3f5ad219875ac32412d1a1f5012b4d7e61839de1 /development/mono/mono.SlackBuild | |
parent | af45ea2c457a6619bc35a4ae6129d77bebb4bbc9 (diff) | |
download | slackbuilds-5a4a1303d13e25b8c2e9bd6f867d50a873a06858.tar.gz |
development/mono: Updated for version 2.4
Diffstat (limited to 'development/mono/mono.SlackBuild')
-rw-r--r-- | development/mono/mono.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/development/mono/mono.SlackBuild b/development/mono/mono.SlackBuild index b6bd8dc2e1..52d4d16edc 100644 --- a/development/mono/mono.SlackBuild +++ b/development/mono/mono.SlackBuild @@ -23,13 +23,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -set -eu - PRGNAM=mono -VERSION=1.9.1 +VERSION=2.4 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -41,6 +40,8 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" fi +set -eu + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -50,6 +51,10 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Fix configure.in and regenerate the build system +patch -p0 < $CWD/mono-2.x.configure.in.patch +autoreconf + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -71,7 +76,7 @@ gzip -9 $PKG/usr/man/man?/*.? find $PKG/etc -type f -exec mv -v {} {}.new \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install -cp -a AUTHORS COPYING.LIB ChangeLog LICENSE NEWS README docs/* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING.LIB LICENSE NEWS docs/* $PKG/usr/doc/$PRGNAM-$VERSION rm $PKG/usr/doc/$PRGNAM-$VERSION/Makefile* mv $PKG/usr/share/libgc-mono $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |