wok-current diff brotli/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | f08fe4855be4 |
children |
line diff
1.1 --- a/brotli/receipt Thu Jun 10 07:14:38 2021 +0000 1.2 +++ b/brotli/receipt Thu Mar 14 20:28:39 2024 +0000 1.3 @@ -23,15 +23,19 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cmake . 1.8 - make 1.9 + mkdir build && cd build 1.10 + cmake \ 1.11 + -DCMAKE_BUILD_TYPE=Release \ 1.12 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.13 + .. && 1.14 + make && make install 1.15 } 1.16 1.17 # Rules to gen a SliTaz package suitable for Tazpkg. 1.18 genpkg_rules() 1.19 { 1.20 mkdir -p $fs/usr/bin $fs/usr/lib 1.21 - cp -a $src/brotli $fs/usr/bin/ 1.22 + cp -a $install/usr/bin/brotli $fs/usr/bin/ 1.23 ln -s brotli $fs/usr/bin/bro 1.24 - cp -a $src/*.so* $fs/usr/lib 1.25 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.26 }