8.6.1 Package Creation

File makefile.oz entirely describes our greeting package. It is also a good idea to state who the author of the package is, so let's update makefile.oz as follows:

makefile(
   lib   : [ 'Greet.ozf' ]
   uri   : 'x-ozlib://oz-kurs/examples' 
   mogul : 'mogul:/oz-kurs/denys/greet' 
   author: 'Denys Duchier' 
   )

Now we can create a package file as follows:

% ozmake --create --package=denys-greet.pkg
writing denys-greet.pkg

A new file called denys-greet.pkg was written and it contains everything needed for the package.


Denys Duchier, Claire Gardent and Joachim Niehren
Version 1.3.99 (20050412)