2019-08-04 16:15:55 +02:00
|
|
|
# Description: Cross platform, open source .NET framework
|
2020-04-01 19:28:53 +00:00
|
|
|
# URL: https://www.mono-project.com
|
2019-08-04 16:15:55 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2020-11-08 14:33:09 +00:00
|
|
|
# Depends on: cmake python3
|
2019-08-04 16:15:55 +02:00
|
|
|
|
|
|
|
name=mono
|
2020-12-21 10:52:57 +00:00
|
|
|
version=6.12.0.107
|
2019-12-20 21:58:16 +01:00
|
|
|
release=1
|
2020-04-01 19:28:53 +00:00
|
|
|
source=(https://download.mono-project.com/sources/$name/$name-$version.tar.xz)
|
2019-12-20 21:58:16 +01:00
|
|
|
|
2019-08-04 16:15:55 +02:00
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2019-09-27 19:30:20 +02:00
|
|
|
[[ -e /usr/lib/ccache ]] && PATH="$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')"
|
2019-08-04 16:15:55 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--with-mcs-docs=no \
|
|
|
|
--disable-crash-reporting \
|
|
|
|
--disable-nls
|
2020-05-17 01:55:37 +00:00
|
|
|
sed -e 's/python/python3/g' -i mono/mini/Makefile*
|
|
|
|
PYTHON=/usr/bin/python3 make
|
2020-01-21 08:12:26 +01:00
|
|
|
make DESTDIR=$PKG install
|
2019-08-04 16:15:55 +02:00
|
|
|
rm -fr $PKG/usr/share/locale
|
2019-10-24 10:18:08 +00:00
|
|
|
find $PKG \( -iname "*README*" \
|
|
|
|
-o -iname "*la" \)\
|
|
|
|
-delete
|
2019-08-04 16:15:55 +02:00
|
|
|
}
|