wok diff libzip/receipt @ rev 25442
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 16:30:36 2022 +0000 (2022-09-02) |
parents | 15650f5d595b |
children |
line diff
1.1 --- a/libzip/receipt Fri Sep 17 10:35:57 2021 +0000 1.2 +++ b/libzip/receipt Fri Sep 02 16:30:36 2022 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libzip" 1.7 -VERSION="1.6.1" 1.8 +VERSION="1.8.0" 1.9 CATEGORY="misc" 1.10 SHORT_DESC="C library for reading, creating, and modifying zip archives." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -25,18 +25,17 @@ 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 - mkdir build && 1.17 - cd build && 1.18 - cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 1.19 - make -j 1 && 1.20 - make -j 1 install 1.21 + mkdir _build && 1.22 + cd _build && 1.23 + cmake .. \ 1.24 + -D CMAKE_INSTALL_PREFIX=/usr && 1.25 + make && 1.26 + make install 1.27 } 1.28 1.29 # Rules to gen a SliTaz package suitable for Tazpkg. 1.30 genpkg_rules() 1.31 { 1.32 - mkdir -p $fs/usr/lib 1.33 - 1.34 - cp -a $install/usr/bin $fs/usr 1.35 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.36 + cook_copy_folders bin 1.37 + cook_copy_files *.so* 1.38 }