wok-6.x view mono/receipt @ rev 6761
Down: make to 3.81. I'm doing this so we cause there are to many problems with 3.82 right now. For example: gst-plugins-base will not compile with the new make 3.82 since there are 8 spaces instead of tabs. Or libwebkit not compiling with -j 4. Best to wait on updating this for slitaz 5.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 17 23:32:20 2010 +0000 (2010-10-17) |
parents | 49e501a55595 |
children | 8359d4b8373a |
line source
1 # SliTaz package receipt.
3 PACKAGE="mono"
4 VERSION="2.6.7"
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="slitaz-toolchain tar bzip2 m4 pkg-config bison gawk \
10 gettext glib-dev zlib-dev libgdiplus-dev"
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 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --sysconfdir=/etc \
27 $CONFIGURE_ARGS &&
28 make -j 4 &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/mono $fs/usr/lib
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/etc $fs
40 chmod +x $fs/usr/bin/*
41 }