HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 15 and Version 16 of BepFile


Ignore:
Timestamp:
10/08/10 14:11:48 (5 years ago)
Author:
scottmc
Comment:

added TEST key

Legend:

Unmodified
Added
Removed
Modified
  • BepFile

    v15 v16  
    7979||{{{BUILD}}}||list of shell commands (script) to execute in order to build the port||shell||shell commands||no||-|| 
    8080||{{{INSTALL}}}||list of shell commands to execute in order to install the port||shell||shell commands||no||-|| 
     81||{{{TEST}}}||list of shell commands to execute the test(s) for the port||shell||shell commands||no||-|| 
    8182||{{{LICENSE}}}||(list of) license(s) for the port||single, list||text||no||-|| 
    8283||{{{COPYRIGHT}}}||(list of) copyright(s) for the port||single, list||text||no||-|| 
    8384 
    84 BUILD and INSTALL scripts are plain bash shell scripts. It is possible to do conditional execution or even loops. For example, it is possible to distinguish between the different BeOS platforms using the {{{BEPORTS_PLATFORM}}} environment variable. It can be one of {{{R5}}}, {{{BONE}}} or {{{HAIKU}}}. Haikuporter detects which BeOS platform it is running on and set the {{{BEPORTS_PLATFORM}}} variable accordingly. 
     85BUILD, INSTALL and TEST scripts are plain bash shell scripts. It is possible to do conditional execution or even loops. For example, it is possible to distinguish between the different BeOS platforms using the {{{BEPORTS_PLATFORM}}} environment variable. It can be one of {{{R5}}}, {{{BONE}}} or {{{HAIKU}}}. Haikuporter detects which BeOS platform it is running on and set the {{{BEPORTS_PLATFORM}}} variable accordingly. 
    8586 
    8687An example of a build script is shown below. Notice that it is possible to add comments using a {{{#}}}. It is highly recommended to document anything special you might do inside a BUILD or INSTALL script. This might help people when they are porting other applications. 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/