wok-current view mono/receipt @ rev 22229
Up chkrootkit (0.53)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 11 22:57:56 2019 +0100 (2019-11-11) |
parents | cef5e17a43a1 |
children | 241fb98cab1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="mono"
4 VERSION="2.10.8"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform, open source .NET development framework"
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.mono-project.com/"
11 WGET_URL="http://download.mono-project.com/sources/$PACKAGE/$TARBALL"
13 DEPENDS="glib glibc-base zlib libgdiplus"
14 BUILD_DEPENDS="tar bzip2 m4 pkg-config bison gawk \
15 gettext glib-dev perl libgdiplus-dev"
17 # Build documentation at http://mono-project.com/Compiling_Mono
18 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --sysconfdir=/etc \
26 --with-libgdiplus=installed \
27 $CONFIGURE_ARGS 2>&1 | grep -v /libtool &&
28 make -j 1 2>&1 | grep -v 'dll.makefrag: No such file' && make install
30 for i in System.Web_standalone_test_net_2_0 \
31 System.Web_standalone_test_net_4_0 \
32 System.Web.Extensions_standalone_test_net_2_0 \
33 System.Web.Extensions_standalone_test_net_4_0 \
34 net_2_0_standalone-runner-support \
35 net_4_0_standalone-runner-support ; do
36 touch -d 197001010000 mcs/build/deps/$i.dll.makefrag
37 done
38 cd $src/mcs/jay
39 make -j 1 && make DESTDIR=$DESTDIR prefix=/usr INSTALL=../../install-sh install
41 #fix .pc file to be able to request mono on what it depends, fixes #go-oo build
42 sed -i -e "s:#Requires:Requires:" $DESTDIR/usr/lib/pkgconfig/mono.pc
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 cp -a $install/usr/lib/mono $fs/usr/lib
51 cp -a $install/usr/bin $fs/usr
52 cp -a $install/etc $fs
53 chmod +x $fs/usr/bin/*
54 }