milis/talimatname/genel/mono/talimat

32 lines
902 B
Plaintext
Raw Normal View History

2017-04-04 13:49:37 +02:00
# Description: .NET'in ücretsiz uygulanması
2016-02-24 01:27:23 +01:00
# URL: http://www.mono-project.com/
2017-04-04 13:49:37 +02:00
# Packager: milisarge
2017-05-10 04:25:59 +02:00
# Depends on: ca-certificates libgdiplus python
2016-02-24 01:27:23 +01:00
name=mono
2017-05-10 04:25:59 +02:00
version=5.0.0.94
2016-02-24 01:27:23 +01:00
release=1
2017-04-04 13:49:37 +02:00
2016-02-24 01:27:23 +01:00
source=(http://download.mono-project.com/sources/$name/$name-$version.tar.bz2
mono.binfmt.d)
build() {
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
}