wok-current diff libgooglepinyin/receipt @ rev 14381
re-alpine: build workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 22 22:23:56 2013 +0200 (2013-04-22) |
parents | 6e4cd2532814 |
children | 8f447cf2eee5 |
line diff
1.1 --- a/libgooglepinyin/receipt Tue Sep 20 20:37:05 2011 +0800 1.2 +++ b/libgooglepinyin/receipt Mon Apr 22 22:23:56 2013 +0200 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.