As it appeared that cygports did not have a package, and since motiontwin cvs server was dead, it was decided that I write up a quick and dirty cygport file for myself to use. Feel free to use it or abuse it, as I do not have a server running 24/7, nor a shell account, so someone else would need to maintain it. CC_SA. Don't know where it goes, but hopefully google will cache it somehow so it can keep floating on the net.
To use : cygport mtasc-1.15-1.cygport download prep compile install and the setup.hint file, if anyone cares. //----------------------------------- # comment sdesc: "The Mtasc action script compiler" ldesc: "The Mtasc action script compiler. Used to compile swf files. This is built from the sourceforge community fork version. Package updated as motiontwin cvs server no longer functions, and code from the google code svn repository is missing files." category: Devel Interpreters requires: ocaml //----------------------------------- $ cat mtasc-enablenative.patch --- old/ocaml/mtasc/doc/install.ml 2012-07-16 13:12:31.995546900 -1200 +++ new/ocaml/mtasc/doc/install.ml 2012-07-16 13:12:45.284598100 -1200 @@ -25,7 +25,7 @@ (* ----- BEGIN CONFIGURATION ---- *) let zlib = match Sys.os_type with "Win32" -> "zlib.lib" | _ -> "-lz" -let bytecode = true +let bytecode = false let native = true (* ------ END CONFIGURATION ----- *) $ cat mtasc-1.15-1.cygport DESCRIPTION="The Mtasc action script compiler" HOMEPAGE="http://mtasc.sourceforge.net/" SRC_URI="mirror://sourceforge/mtasc/${PN}-source-${PV}.zip" PATCH_URI="mtasc-enablenative.patch" SRC_DIR="ocaml" src_compile() { cd ${S} cd .. ocaml ocaml/mtasc/doc/install.ml } src_install() { cd ${S} insinto /usr/lib/${PN} doins ${S}/mtasc/{*ml,*cmi,*cmx,*.o,*mll,LICENSE} cp -r ${S}/mtasc/{std,std8,std9}/ ${D}/usr/lib/${PN}/ newbin ${S}/../bin/mtasc.exe mtasc-${PV}.exe # Hopefully someone who is clever then me can fix this mess up... relocation option won't work for now. touch ${T}/mtasc.sh echo "#!/bin/sh" > ${T}/mtasc.sh #echo "mtasc-${PV} -cp ${D}/usr/lib/${PN}/std/ -cp ${D}/usr/lib/${PN}/std8/ -cp ${D}/usr/lib/${PN}/std9/ \"\$@\"" >> ${T}/mtasc.sh echo "mtasc-${PV} -cp /usr/lib/${PN}/std/ -cp /usr/lib/${PN}/std8/ -cp /usr/lib/${PN}/std9/ \"\$@\"" >> ${T}/mtasc.sh newbin ${T}/mtasc.sh mtasc dodoc ${S}/mtasc/doc/* } Gen
mtasc-1.15-1.cygport
Description: Binary data
mtasc-enablenative.patch
Description: Binary data