milis/talimatname/genel/m/mono/talimat

32 lines
895 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: .NET'in ücretsiz uygulanması
# URL: http://www.mono-project.com/
# Paketçi: milisarge
# Gerekler: ca-certificates libgdiplus python
name=mono
version=5.0.0.94
release=1
source=(http://download.mono-project.com/sources/$name/$name-$version.tar.bz2
mono.binfmt.d)
derle() {
cd $name-${version%.*}
./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/${name}-${version%.*}/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
}