wok-next diff libgooglepinyin/receipt @ rev 13258

fail2ban: add apache-noscript & apache-proxy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 17 14:50:02 2012 +0200 (2012-08-17)
parents 6e4cd2532814
children 8f447cf2eee5
line diff
     1.1 --- a/libgooglepinyin/receipt	Tue Sep 20 20:37:05 2011 +0800
     1.2 +++ b/libgooglepinyin/receipt	Fri Aug 17 14:50:02 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.