From Genome Analysis Wiki
Jump to navigationJump to search
893 bytes added
, 12:06, 19 February 2013
Line 126: |
Line 126: |
| '''/usr/local/gotcloud/bin/umake.pl --test ~/testumake''' | | '''/usr/local/gotcloud/bin/umake.pl --test ~/testumake''' |
| '''rm -rf ~/testumake''' # If no error | | '''rm -rf ~/testumake''' # If no error |
| + | </code> |
| + | |
| + | '''Creating Your Own Debian Package From the Source''' |
| + | |
| + | The process to create your own Debian package from the source files is straight-forward |
| + | for Debian users. The source files actually contain source for the executables, |
| + | the test data and the scripts and configuration files used by the users. |
| + | To source builds two debian package files - one for the test data (test) and one for the |
| + | binaries and scripts (bin). |
| + | |
| + | In order to simply the build of two packages, the debian directory contains the control |
| + | files for both packages (bin and test). |
| + | This requires that the normal control files (e.g. rules) be named rules.test and rules.bin |
| + | and the shell script (makedeb.sh) be aware of this nuance. |
| + | In addition the shell script can make an RPM file (using alien) and will help manage |
| + | the version for GotCloud. |
| + | |
| + | <code> |
| + | # Get the source for GotCloud |
| + | |
| + | # To build a Debian package for bin |
| + | |
| </code> | | </code> |