void-packages/srcpkgs/mono/template

31 lines
942 B
Bash

# Template file for 'mono'
pkgname=mono
version=4.6.2.16
revision=1
wrksrc="mono-${version%.*}"
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-static --disable-system-aot"
# XXX: figure out how to split this up into subpkgs.
hostmakedepends="automake libtool perl python"
makedepends="zlib-devel libX11-devel libgdiplus-devel"
depends="ca-certificates python"
short_desc="Free implementation of the .NET platform including runtime and compiler"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.mono-project.com"
license="MIT, 3-clause-BSD, GPL-2, LGPL-2, MPL-1.1"
distfiles="http://download.mono-project.com/sources/mono/$pkgname-$version.tar.bz2"
checksum=8965d107f4ebf4583ba1b50e0dcad39f0dc6adac8df7a083e9c5879ad93c0ea4
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" --disable-boehm --without-sigaltstack" ;;
esac
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE
}