milis/talimatname/genel/m/mono/talimat

32 lines
885 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: .NET'in ücretsiz uygulanması
2016-02-24 01:27:23 +01:00
# URL: http://www.mono-project.com/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: ca-certificates libgdiplus python
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=mono
surum=5.0.0.94
devir=1
2017-04-04 13:49:37 +02:00
2017-10-28 14:10:23 +02:00
kaynak=(http://download.mono-project.com/sources/$isim/$isim-$surum.tar.bz2
2016-02-24 01:27:23 +01:00
mono.binfmt.d)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-${surum%.*}
2016-02-24 01:27:23 +01:00
./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
2017-10-28 14:10:23 +02:00
cd $SRC/${isim}-${surum%.*}/mcs/jay
2016-02-24 01:27:23 +01:00
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
}