wok-next diff libgooglepinyin/receipt @ rev 15434
Up: eet (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:57:30 2013 +0100 (2013-11-05) |
parents | 6e4cd2532814 |
children | 8f447cf2eee5 |
line diff
1.1 --- a/libgooglepinyin/receipt Tue Sep 20 20:37:05 2011 +0800 1.2 +++ b/libgooglepinyin/receipt Tue Nov 05 20:57:30 2013 +0100 1.3 @@ -14,13 +14,12 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + mkdir -p $src/build 1.8 + cd $src/build 1.9 + cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1 1.10 cd $src 1.11 - mkdir build 1.12 - pushd build 1.13 - cmake ../ -DCMAKE_INSTALL_PREFIX=/usr || return 11 1.14 - popd 1.15 make -C build || return 1 1.16 - make install/fast -C build DESTDIR=$PWD/_pkg 1.17 + make install/fast -C build DESTDIR=$DESTDIR 1.18 } 1.19 1.20 # Rules to gen a SliTaz package suitable for Tazpkg.