wok-6.x diff muparser/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | ad9008f821da |
children |
line diff
1.1 --- a/muparser/receipt Mon Mar 07 17:32:18 2022 +0000 1.2 +++ b/muparser/receipt Sat Jul 30 08:30:06 2022 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="muparser" 1.7 -VERSION="2.2.6.1" 1.8 +VERSION="2.3.3" 1.9 CATEGORY="development" 1.10 SHORT_DESC="A fast mathematical expression parser library." 1.11 MAINTAINER="devl547@gmail.com" 1.12 @@ -9,10 +9,10 @@ 1.13 WEB_SITE="https://beltoforion.de/en/muparser" 1.14 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WGET_URL="https://github.com/beltoforion/$PACKAGE/archive/v$VERSION.tar.gz" 1.17 +WGET_URL="https://github.com/beltoforion/$PACKAGE/archive/v$VERSION-1.tar.gz" 1.18 1.19 -DEPENDS="" 1.20 -BUILD_DEPENDS="gcc83" 1.21 +DEPENDS="gcc83-lib-base" 1.22 +BUILD_DEPENDS="cmake gcc83" 1.23 1.24 current_version() 1.25 { 1.26 @@ -26,18 +26,18 @@ 1.27 export CC=gcc-83 1.28 export CXX=g++-83 1.29 1.30 - ./configure \ 1.31 - --disable-samples \ 1.32 - $CONFIGURE_ARGS && 1.33 + mkdir _build && 1.34 + cd _build && 1.35 + cmake .. \ 1.36 + -D ENABLE_OPENMP=OFF \ 1.37 + -D ENABLE_SAMPLES=OFF \ 1.38 + -D CMAKE_INSTALL_PREFIX=/usr && 1.39 make $MAKEFLAGS && 1.40 - make DESTDIR=$DESTDIR install 1.41 + make install DESTDIR=$DESTDIR 1.42 } 1.43 1.44 # Rules to gen a SliTaz package suitable for Tazpkg. 1.45 genpkg_rules() 1.46 { 1.47 - mkdir -p $fs/usr/ 1.48 - 1.49 - #cp -a $install/usr/bin $fs/usr/ 1.50 - cp -a $install/usr/lib $fs/usr/ 1.51 + cook_copy_folders lib 1.52 }