Changes between Version 1 and Version 2 of Debathenificator


Ignore:
Timestamp:
04/14/10 15:40:54 (14 years ago)
Author:
broder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Debathenificator

    v1 v2  
    66 
    77The Debathenificator framework itself lives in source:/trunk/debathena/third/common, and individual Debathenified packages live in other subdirectories of source:/trunk/debathena/third. 
     8 
     9A consumer of the Debathenificator is a single shell script, possibly with some ancillary files. The script is called `debathenify-PACKAGE`, where `PACKAGE` is the package being debathenified (c.f. source:/trunk/debathena/third/lprng/debathenify-lprng). Each debathenify script MUST do 4 things: set a `name` variable, set a `daversionappend` variable, define a `hack_package` shell function, and source `../common/debathenificator.sh`. Here is a basic example: 
     10 
     11{{{ 
     12#!/bin/sh 
     13set -e 
     14 
     15name=lprng 
     16daversionappend=debathena1 
     17 
     18hack_package() { 
     19    add_changelog "Rebuild for Evan's amusement." 
     20} 
     21 
     22. ../common/debathenificator.sh 
     23}}}