25 | | build.target sl |
26 | | destroot.cmd install |
27 | | destroot.target "" |
28 | | destroot.args sl ${destroot}${prefix}/bin/sl |
29 | | destroot.destdir "" |
| 28 | |
| 29 | build { |
| 30 | system -W ${worksrcpath} \ |
| 31 | "${configure.cc} ${configure.optflags} -I${prefix}/include -L${prefix}/lib \ |
| 32 | -o sl sl.c -lncurses -ltermcap" } |
| 33 | |
| 34 | destroot { |
| 35 | xinstall -m 755 ${worksrcpath}/sl ${destroot}${prefix}/bin/sl |
| 36 | } |
| 37 | |
| 38 | variant persistent description {Add gates and different trains. Even more annoying!} { |
| 39 | patch_sites http://www.izumix.org.uk/sl/ |
| 40 | patchfiles sl5-1.patch |
| 41 | checksums-append sl5-1.patch \ |
| 42 | sha1 4bad34d817f725626c1f1b655d968290ec78a19a \ |
| 43 | rmd160 03feef9ec80e127b0aee3b08b15fa605e9b6aad2 |
| 44 | patch.pre_args -p1 |
| 45 | } |