wok-next view mono/receipt @ rev 12125

mono: make install may fail if -j1 is not used
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 13 03:03:27 2012 +0100 (2012-03-13)
parents 5b6d006e6a61
children 6631f145d1d7
line source
1 # SliTaz package receipt.
3 PACKAGE="mono"
4 VERSION="2.10.2"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform, open source .NET development framework"
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glib glibc-base zlib libgdiplus"
9 BUILD_DEPENDS="tar bzip2 m4 pkg-config bison gawk \
10 gettext glib-dev perl"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.mono-project.com/"
13 WGET_URL="ftp://ftp.novell.com/pub/mono/sources/$PACKAGE/$TARBALL"
15 # Build documentation at http://mono-project.com/Compiling_Mono
16 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --sysconfdir=/etc \
24 $CONFIGURE_ARGS &&
25 make -j 1 && make -j 1 install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/mono $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/etc $fs
36 chmod +x $fs/usr/bin/*
37 }