42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# Template file for 'mono'
|
|
pkgname=mono
|
|
version=5.4.0.201
|
|
revision=1
|
|
wrksrc="mono-${version}"
|
|
lib32disabled=yes
|
|
build_style=gnu-configure
|
|
configure_args="--disable-system-aot"
|
|
# XXX: figure out how to split this up into subpkgs.
|
|
hostmakedepends="automake libtool perl python cmake"
|
|
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=2a2f5c2a214a9980c086ac7561a5dd106f13d823a630de218eabafe1d995c5b4
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) configure_args+=" --disable-boehm --without-sigaltstack" ;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
# Avoid conflict with chicken's csc compiler
|
|
mv ${DESTDIR}/usr/bin/csc ${DESTDIR}/usr/bin/mono-csc
|
|
vlicense LICENSE
|
|
}
|
|
|
|
mono-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|