# HG changeset patch # User Christopher Rogers # Date 1316514155 0 # Node ID 3af70ef3a7ace0bdbe446cf4d45359e9e269df14 # Parent 66ba59187c47937e123d32099dc8d182af0046ca Fixed opencc CATEGORY. Don't use pushd and popd cause build bot may not use bash. Some clean up. diff -r 66ba59187c47 -r 3af70ef3a7ac fcitx-googlepinyin/receipt --- a/fcitx-googlepinyin/receipt Tue Sep 20 20:44:27 2011 +0800 +++ b/fcitx-googlepinyin/receipt Tue Sep 20 10:22:35 2011 +0000 @@ -14,13 +14,12 @@ # Rules to configure and make the package. compile_rules() { + mkdir -p $src/build + cd $src/build + cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1 cd $src - mkdir build - pushd build - cmake ../ -DCMAKE_INSTALL_PREFIX=/usr || return 1 - popd make -C build || return 1 - make install/fast -C build DESTDIR=$PWD/_pkg + make install/fast -C build DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 66ba59187c47 -r 3af70ef3a7ac fcitx/receipt --- a/fcitx/receipt Tue Sep 20 20:44:27 2011 +0800 +++ b/fcitx/receipt Tue Sep 20 10:22:35 2011 +0000 @@ -14,13 +14,12 @@ # Rules to configure and make the package. compile_rules() { + mkdir -p $src/build + cd $src/build + 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 cd $src - mkdir build - pushd build - 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 - popd make -C build || return 1 - make install/fast -C build DESTDIR=$PWD/_pkg + make install/fast -C build DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 66ba59187c47 -r 3af70ef3a7ac libgooglepinyin/receipt --- a/libgooglepinyin/receipt Tue Sep 20 20:44:27 2011 +0800 +++ b/libgooglepinyin/receipt Tue Sep 20 10:22:35 2011 +0000 @@ -14,13 +14,12 @@ # Rules to configure and make the package. compile_rules() { + mkdir -p $src/build + cd $src/build + cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1 cd $src - mkdir build - pushd build - cmake ../ -DCMAKE_INSTALL_PREFIX=/usr || return 11 - popd make -C build || return 1 - make install/fast -C build DESTDIR=$PWD/_pkg + make install/fast -C build DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 66ba59187c47 -r 3af70ef3a7ac opencc/receipt --- a/opencc/receipt Tue Sep 20 20:44:27 2011 +0800 +++ b/opencc/receipt Tue Sep 20 10:22:35 2011 +0000 @@ -2,7 +2,7 @@ PACKAGE="opencc" VERSION="0.2.0" -CATEGORY="" +CATEGORY="misc" SHORT_DESC="Libraries for Simplified-Traditional Chinese Conversion" MAINTAINER="liupeng " DEPENDS="" @@ -14,13 +14,12 @@ # Rules to configure and make the package. compile_rules() { + mkdir -p $src/build + cd $src/build + cmake $src -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_GETTEXT:BOOL=ON || return 1 cd $src - mkdir build - pushd build - cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_GETTEXT:BOOL=ON || return 1 - popd make -C build || return 1 - make install -C build DESTDIR=$PWD/_pkg + make install -C build DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg.