wok-next view mono/receipt @ rev 21016
Small updates; mdocml -> mandoc
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 15 16:44:45 2018 +0300 (2018-10-15) |
parents | 8a42150f2543 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mono"
4 VERSION="5.12.0.226"
5 CATEGORY="development"
6 SHORT_DESC="Cross platform, open source .NET framework"
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="LGPL2"
9 WEB_SITE="https://www.mono-project.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://download.mono-project.com/sources/mono/$TARBALL"
14 BUILD_DEPENDS="zlib-dev gettext libtool xorg-libX11-dev cmake libgdiplus-dev"
15 SPLIT="mono-doc mono mono-dev"
16 COOKOPTS="skip-log-errors"
18 # Build documentation at https://www.mono-project.com/docs/compiling-mono/
20 compile_rules() {
21 # mono fails to build for i486...
22 export CFLAGS=${CFLAGS/i486/i686}
23 echo "CFLAGS : $CFLAGS"
25 # --with-spectre-mitigation=yes \
26 # --with-spectre-indirect-branch-choice=extern \
27 ./configure \
28 --with-libgdiplus=installed \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
34 cd $src/mcs/jay
35 make -j1 &&
36 make DESTDIR=$DESTDIR prefix=/usr INSTALL=../../install-sh install || return 1
38 chmod +x $install/usr/bin/*.py
39 }
41 genpkg_rules() {
42 case $PACKAGE in
43 mono-doc)
44 copy usr/lib/monodoc/
45 CAT="development|documentation"
46 ;;
47 mono)
48 copy @std @rm
49 DEPENDS="glib glibc-base zlib libgdiplus"
50 ;;
51 mono-dev)
52 copy @dev
53 ;;
54 esac
55 }