| Line | |
|---|
| 1 | <build xmlns:c="http://bitten.edgewall.org/tools/c" |
|---|
| 2 | xmlns:sh="http://bitten.edgewall.org/tools/sh"> |
|---|
| 3 | <step id="checkout" description="Checkout source"> |
|---|
| 4 | <sh:exec executable="rm" args="-rf *" /> |
|---|
| 5 | <sh:exec executable="sh" |
|---|
| 6 | args="-c 'wget http://hg.libdodo.org/hg/archive/$(echo ${revision} | sed -r s/^[0-9]+://).tar.bz2'" /> |
|---|
| 7 | <sh:exec executable="sh" args="-c 'tar --strip-components=1 -jxf $(echo ${revision} | sed -r s/^[0-9]+://).tar.bz2'" /> |
|---|
| 8 | </step> |
|---|
| 9 | <step id="configure" |
|---|
| 10 | description="Configure with all external dependecies, XSI ipc, PCRE regex"> |
|---|
| 11 | <sh:exec executable="sh" args="-c 'cd sources; ./configure --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre --with-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick --with-ipc=XSI'" /> |
|---|
| 12 | </step> |
|---|
| 13 | <step id="build-library" description="Build library"> |
|---|
| 14 | <c:make jobs="4" target="clean" directory="sources" /> |
|---|
| 15 | <c:make jobs="4" directory="sources" /> |
|---|
| 16 | </step> |
|---|
| 17 | <step id="build-example" description="Build examples"> |
|---|
| 18 | <c:make jobs="4" target="clean" directory="sources/examples" /> |
|---|
| 19 | <c:make jobs="4" directory="sources/examples" /> |
|---|
| 20 | </step> |
|---|
| 21 | </build> |
|---|
Note: See
TracBrowser
for help on using the repository browser.