Rebase to upstream hg 8:47a3fd9d29e4.
Aron Xu
12 years ago
0 | 0 |
project(googlepinyin)
|
1 | 1 |
cmake_minimum_required(VERSION 2.6)
|
2 | 2 |
|
3 | |
option(ENABLE_STATIC "Build static library" True)
|
|
3 |
option(ENABLE_STATIC "Build static library" False)
|
4 | 4 |
|
5 | 5 |
# uninstall target
|
6 | 6 |
configure_file(
|
6 | 6 |
Description: Google Pinyin library (Fork from android)
|
7 | 7 |
Version: 1.0
|
8 | 8 |
Cflags: -I${includedir}
|
9 | |
Libs: -L${libdir}
|
|
9 |
Libs: -L${libdir} -lgooglepinyin
|
0 | |
libgooglepinyin (0.0+hg003-1) UNRELEASED; urgency=low
|
|
0 |
libgooglepinyin (0.0+hg071101-1) UNRELEASED; urgency=low
|
1 | 1 |
|
2 | 2 |
* Initial release (Closes: #633106)
|
3 | 3 |
|
0 | 0 |
#!/usr/bin/make -f
|
1 | 1 |
%:
|
2 | 2 |
dh $@
|
|
3 |
override_dh_auto_configure:
|
|
4 |
dh_auto_configure -- -DENABLE_STATIC=True
|
495 | 495 |
delete [] valid_hzs;
|
496 | 496 |
utf16_reader.close();
|
497 | 497 |
|
498 | |
printf("read succesfully, lemma num: %zd\n", lemma_num);
|
|
498 |
printf("read successfully, lemma num: %zd\n", lemma_num);
|
499 | 499 |
|
500 | 500 |
return lemma_num;
|
501 | 501 |
}
|