milis/talimatname/genel/m/mono/talimat

33 lines
905 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: .NET'in ücretsiz uygulanması
# URL: http://www.mono-project.com/
# Paketçi: milisarge
# Gerekler: ca-certificates libgdiplus python
2018-08-02 13:57:55 +02:00
# Grup: geliştirme
2018-06-09 00:06:58 +02:00
isim=mono
surum=5.0.0.94
devir=1
kaynak=(http://download.mono-project.com/sources/$isim/$isim-$surum.tar.bz2
mono.binfmt.d)
derle() {
cd $isim-${surum%.*}
./configure --prefix=/usr \
--sysconfdir=/etc \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--disable-quiet-build \
--disable-system-aot \
--with-mcs-docs=no
make
make DESTDIR=$PKG install
cd $SRC/${isim}-${surum%.*}/mcs/jay
make DESTDIR=$PKG prefix=/usr INSTALL=../../install-sh install
# install binfmt conf file and pathes
install -D -m644 $SRC/mono.binfmt.d $PKG/usr/lib/binfmt.d/mono.conf
#fix .pc file to be able to request mono on what it depends, fixes #go-oo build
sed -i -e "s:#Requires:Requires:" ${PKG}/usr/lib/pkgconfig/mono.pc
}