wok-next diff libgooglepinyin/receipt @ rev 12547

Add udisk (1.94.0)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 14:14:29 2012 +0200 (2012-04-26)
parents 6e4cd2532814
children 8f447cf2eee5
line diff
     1.1 --- a/libgooglepinyin/receipt	Tue Sep 20 20:37:05 2011 +0800
     1.2 +++ b/libgooglepinyin/receipt	Thu Apr 26 14:14:29 2012 +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.