wok annotate muparser/receipt @ rev 24933

updated muparser and muparser-dev (2.2.6.1 -> 2.3.3)
author Hans-G?nter Theisgen
date Wed Apr 13 17:29:40 2022 +0100 (2022-04-13)
parents ad9008f821da
children 5db546345599
rev   line source
devl547@13977 1 # SliTaz package receipt.
devl547@13977 2
devl547@13977 3 PACKAGE="muparser"
Hans-G?nter@24933 4 VERSION="2.3.3"
devl547@13977 5 CATEGORY="development"
Hans-G?nter@21499 6 SHORT_DESC="A fast mathematical expression parser library."
devl547@13977 7 MAINTAINER="devl547@gmail.com"
pascal@15601 8 LICENSE="MIT"
pascal@23890 9 WEB_SITE="https://beltoforion.de/en/muparser"
Hans-G?nter@21499 10
Hans-G?nter@21499 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24933 12 WGET_URL="https://github.com/beltoforion/$PACKAGE/archive/v$VERSION-1.tar.gz"
pascal@15601 13
Hans-G?nter@24933 14 DEPENDS="gcc83-lib-base"
Hans-G?nter@24933 15 BUILD_DEPENDS="cmake gcc83"
pascal@15601 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24626 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;s|-|.|g;q'
pascal@24055 21 }
pascal@24055 22
devl547@13977 23 # Rules to configure and make the package.
devl547@13977 24 compile_rules()
devl547@13977 25 {
Hans-G?nter@21499 26 export CC=gcc-83
Hans-G?nter@21499 27 export CXX=g++-83
Hans-G?nter@21499 28
Hans-G?nter@24933 29 mkdir _build &&
Hans-G?nter@24933 30 cd _build &&
Hans-G?nter@24933 31 cmake .. \
Hans-G?nter@24933 32 -D ENABLE_OPENMP=OFF \
Hans-G?nter@24933 33 -D ENABLE_SAMPLES=OFF \
Hans-G?nter@24933 34 -D CMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@21499 35 make $MAKEFLAGS &&
Hans-G?nter@24933 36 make install DESTDIR=$DESTDIR
devl547@13977 37 }
devl547@13977 38
devl547@13977 39 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@13977 40 genpkg_rules()
devl547@13977 41 {
Hans-G?nter@24933 42 cook_copy_folders lib
devl547@13977 43 }