Changes between Version 1 and Version 2 of Debathenificator
- Timestamp:
- 04/14/10 15:40:54 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Debathenificator
v1 v2 6 6 7 7 The Debathenificator framework itself lives in source:/trunk/debathena/third/common, and individual Debathenified packages live in other subdirectories of source:/trunk/debathena/third. 8 9 A 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 13 set -e 14 15 name=lprng 16 daversionappend=debathena1 17 18 hack_package() { 19 add_changelog "Rebuild for Evan's amusement." 20 } 21 22 . ../common/debathenificator.sh 23 }}}