talimat 902 B

1234567891011121314151617181920212223242526272829303132
  1. # Description: .NET'in ücretsiz uygulanması
  2. # URL: http://www.mono-project.com/
  3. # Packager: milisarge
  4. # Depends on: ca-certificates libgdiplus python
  5. name=mono
  6. version=5.0.0.94
  7. release=1
  8. source=(http://download.mono-project.com/sources/$name/$name-$version.tar.bz2
  9. mono.binfmt.d)
  10. build() {
  11. cd $name-${version%.*}
  12. ./configure --prefix=/usr \
  13. --sysconfdir=/etc \
  14. --bindir=/usr/bin \
  15. --sbindir=/usr/bin \
  16. --disable-quiet-build \
  17. --disable-system-aot \
  18. --with-mcs-docs=no
  19. make
  20. make DESTDIR=$PKG install
  21. cd $SRC/${name}-${version%.*}/mcs/jay
  22. make DESTDIR=$PKG prefix=/usr INSTALL=../../install-sh install
  23. # install binfmt conf file and pathes
  24. install -D -m644 $SRC/mono.binfmt.d $PKG/usr/lib/binfmt.d/mono.conf
  25. #fix .pc file to be able to request mono on what it depends, fixes #go-oo build
  26. sed -i -e "s:#Requires:Requires:" ${PKG}/usr/lib/pkgconfig/mono.pc
  27. }