wok diff ccache/receipt @ rev 24955
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:34:46 2022 +0100 (2022-04-23) |
parents | 5ea0ce1cecc0 |
children |
line diff
1.1 --- a/ccache/receipt Tue Jun 08 08:46:05 2021 +0000 1.2 +++ b/ccache/receipt Sat Apr 23 16:34:46 2022 +0100 1.3 @@ -1,20 +1,20 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="ccache" 1.7 -VERSION="3.7.7" 1.8 +VERSION="4.5.1" 1.9 CATEGORY="development" 1.10 TAGS="compiler" 1.11 SHORT_DESC="Compiler cache." 1.12 MAINTAINER="erjo@slitaz.org" 1.13 LICENSE="GPL3" 1.14 -WEB_SITE="https://ccache.samba.org/" 1.15 +WEB_SITE="https://ccache.dev/" 1.16 1.17 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.18 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL" 1.19 1.20 SUGGESTED="gcc" 1.21 -DEPENDS="zlib" 1.22 -BUILD_DEPENDS="zlib-dev" 1.23 +DEPENDS="gcc83-lib-base hiredis libatomic zstd" 1.24 +BUILD_DEPENDS="cmake gcc83 hiredis-dev zstd-dev" 1.25 1.26 current_version() 1.27 { 1.28 @@ -25,18 +25,20 @@ 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 { 1.32 - ./configure \ 1.33 - --prefix=/usr \ 1.34 - --infodir=/usr/share/info \ 1.35 - --mandir=/usr/share/man \ 1.36 - $CONFIGURE_ARGS && 1.37 + export CC=gcc-83 1.38 + export CXX=g++-83 1.39 + 1.40 + mkdir _build && 1.41 + cd _build && 1.42 + cmake .. \ 1.43 + -D CMAKE_BUILD_TYPE=Release \ 1.44 + -D CMAKE_INSTALL_PREFIX=/usr && 1.45 make && 1.46 - make DESTDIR=$DESTDIR install 1.47 + make install DESTDIR=$DESTDIR 1.48 } 1.49 1.50 # Rules to gen a SliTaz package suitable for Tazpkg. 1.51 genpkg_rules() 1.52 { 1.53 - mkdir -p $fs/usr 1.54 - cp -a $install/usr/bin $fs/usr 1.55 + cook_copy_folders bin 1.56 }