wok-6.x diff fcitx/receipt @ rev 10962
Fixed opencc CATEGORY. Don't use pushd and popd cause build bot may not use bash. Some clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 20 10:22:35 2011 +0000 (2011-09-20) |
parents | 3f3e2cc53af0 |
children | 79a6b0b967a1 |
line diff
1.1 --- a/fcitx/receipt Tue Sep 20 20:35:27 2011 +0800 1.2 +++ b/fcitx/receipt Tue Sep 20 10:22:35 2011 +0000 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 -DENABLE_QT_IM_MODULE=OFF -DENABLE_GTK2_IM_MODULE=OFF -DENABLE_GTK3_IM_MODULE=OFF -DENABLE_OPENCC=ON || return 1 1.10 cd $src 1.11 - mkdir build 1.12 - pushd build 1.13 - cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_QT_IM_MODULE=OFF -DENABLE_GTK2_IM_MODULE=OFF -DENABLE_GTK3_IM_MODULE=OFF -DENABLE_OPENCC=ON || return 1 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.