wok-next view mono/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 757d032c55c7
children 04db1a3c3590
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.mono-project.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.mono-project.com/sources/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="tar bzip2 m4 bison gawk \
15 gettext glib-dev perl libgdiplus-dev"
16 SPLIT="mono-doc mono mono-dev"
18 # Build documentation at http://mono-project.com/Compiling_Mono
19 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
21 compile_rules() {
22 ./configure \
23 --with-libgdiplus=installed \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make -j1 &&
27 make install
29 for i in \
30 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
39 cd $src/mcs/jay
40 make -j1 &&
41 make DESTDIR=$DESTDIR prefix=/usr INSTALL=../../install-sh install
43 #fix .pc file to be able to request mono on what it depends, fixes #go-oo build
44 sed -i -e "s:#Requires:Requires:" $DESTDIR/usr/lib/pkgconfig/mono.pc
46 chmod +x $install/usr/bin/*
47 }
49 genpkg_rules() {
50 case $PACKAGE in
51 mono-doc)
52 copy usr/lib/monodoc/
53 CAT="development|documentation"
54 ;;
55 mono)
56 copy @std @rm
57 DEPENDS="glib glibc-base zlib libgdiplus"
58 ;;
59 mono-dev)
60 copy @dev
61 ;;
62 esac
63 }