Commit a46ed95d523a227f0566e7d9e1dadee529581b9a
1 parent
e3eb5b7e
Exists in
master
and in
17 other branches
Add libicu software definition
Showing
1 changed file
with
23 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,23 @@ |
| 1 | +name "libicu" | |
| 2 | +version "52.1" | |
| 3 | + | |
| 4 | +source :url => "http://download.icu-project.org/files/icu4c/52.1/icu4c-52_1-src.tgz", | |
| 5 | + :md5 => "9e96ed4c1d99c0d14ac03c140f9f346c" | |
| 6 | + | |
| 7 | +relative_path 'icu/source' | |
| 8 | + | |
| 9 | +env = { | |
| 10 | + "LDFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", | |
| 11 | + "CFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", | |
| 12 | + "LD_RUN_PATH" => "#{install_dir}/embedded/lib" | |
| 13 | +} | |
| 14 | + | |
| 15 | +build do | |
| 16 | + command ["alias gmake=make; ./runConfigureICU", | |
| 17 | + "Linux/gcc", | |
| 18 | + "--prefix=#{install_dir}/embedded", | |
| 19 | + ].join(" "), :env => env | |
| 20 | + | |
| 21 | + command "make -j #{max_build_jobs}", :env => env | |
| 22 | + command "make install" | |
| 23 | +end | ... | ... |