wok-next annotate mono/receipt @ rev 20865

gpgme: make Python bindings; mono: up (5.12.0.226); ocsinventory-agent: fix install
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jul 01 21:13:43 2018 +0300 (2018-07-01)
parents 556349764d57
children 8a42150f2543
rev   line source
pascal@20185 1 # SliTaz package receipt v2.
rcx@3231 2
rcx@3231 3 PACKAGE="mono"
al@20865 4 VERSION="5.12.0.226"
rcx@3231 5 CATEGORY="development"
al@20865 6 SHORT_DESC="Cross platform, open source .NET framework"
rcx@3231 7 MAINTAINER="rcx@zoominternet.net"
pascal@15172 8 LICENSE="LGPL2"
al@20865 9 WEB_SITE="https://www.mono-project.com/"
al@20534 10
al@20865 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20865 12 WGET_URL="https://download.mono-project.com/sources/mono/$TARBALL"
pascal@15172 13
al@20865 14 #BUILD_DEPENDS="tar bzip2 m4 bison gawk gettext glib-dev perl libgdiplus-dev"
al@20865 15 BUILD_DEPENDS="zlib-dev gettext libtool xorg-libX11-dev cmake libgdiplus-dev"
al@20534 16 SPLIT="mono-doc mono mono-dev"
al@20865 17 COOKOPTS="skip-log-errors"
rcx@3231 18
al@20865 19 # Build documentation at https://www.mono-project.com/docs/compiling-mono/
rcx@3231 20
al@20534 21 compile_rules() {
rcx@3231 22 ./configure \
slaxemulator@12320 23 --with-libgdiplus=installed \
al@20865 24 --with-spectre-mitigation=yes \
al@20865 25 --with-spectre-indirect-branch-choice=extern \
al@20534 26 $CONFIGURE_ARGS &&
al@20599 27 fix libtool &&
al@20865 28 make &&
al@20534 29 make install
slaxemulator@12320 30
slaxemulator@12320 31 cd $src/mcs/jay
al@20534 32 make -j1 &&
al@20865 33 make DESTDIR=$DESTDIR prefix=/usr INSTALL=../../install-sh install || return 1
slaxemulator@12320 34
al@20865 35 chmod +x $install/usr/bin/*.py
rcx@3231 36 }
rcx@3231 37
al@20534 38 genpkg_rules() {
pascal@20185 39 case $PACKAGE in
al@20534 40 mono-doc)
al@20534 41 copy usr/lib/monodoc/
al@20534 42 CAT="development|documentation"
al@20534 43 ;;
al@20534 44 mono)
al@20534 45 copy @std @rm
al@20534 46 DEPENDS="glib glibc-base zlib libgdiplus"
al@20534 47 ;;
al@20534 48 mono-dev)
al@20534 49 copy @dev
al@20534 50 ;;
pascal@20185 51 esac
rcx@3231 52 }