-
Notifications
You must be signed in to change notification settings - Fork 42
Notes about how to build Moscow ML installers
Ken Friis Larsen edited this page Aug 28, 2014
·
1 revision
Use the commands (in mosml
dir):
mkdir osx-root
(cd src && make DESTDIR=`pwd`/../osx-root BASISDYNLIB="msocket munix" world install)
mkdir pkg1
pkgbuild --root osx-root \
--identifier org.mosml \
--version 2.10.1 \
pkg1/mosml-2.10.1.pkg
We build without IntInf
support (the BASISDYNLIB
stuff), because
we don't to distribute GMP with Moscow ML.
See also http://vincent.bernat.im/en/blog/2013-autoconf-osx-packaging.html
Build a deb with the one of commands:
debuild -us -uc
debbuild -S
The later for building a signed package.
See also:
- http://packaging.ubuntu.com/html/packaging-new-software.html
- http://www.debian.org/doc/manuals/maint-guide/index.en.html
Uploading Ubuntu package:
dput ppa:kflarsen/mosml mosml_2.10.1-0ubuntu0_source.changes
Result can be found at: https://launchpad.net/~kflarsen/+archive/ubuntu/mosml
Binaries for Windows can be build by cross-compiling under Linux:
sudo apt-get install mingw32
mkdir win-root
(cd src && make DESTDIR=`pwd`/../win-root PREFIX=/mosml cross_w32)
cd win-root
zip -r mosml-2.10.1.windows-bin.zip mosml