wok annotate muparser/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (4 months ago)
parents 14a442b5fdf0
children
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@25603 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25603 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;s|-|.|g;q'
pascal@24055 22 }
pascal@24055 23
devl547@13977 24 # Rules to configure and make the package.
devl547@13977 25 compile_rules()
devl547@13977 26 {
Hans-G?nter@21499 27 export CC=gcc-83
Hans-G?nter@21499 28 export CXX=g++-83
Hans-G?nter@21499 29
Hans-G?nter@24933 30 mkdir _build &&
Hans-G?nter@24933 31 cd _build &&
Hans-G?nter@24933 32 cmake .. \
Hans-G?nter@24933 33 -D ENABLE_OPENMP=OFF \
Hans-G?nter@24933 34 -D ENABLE_SAMPLES=OFF \
Hans-G?nter@24933 35 -D CMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@21499 36 make $MAKEFLAGS &&
Hans-G?nter@24933 37 make install DESTDIR=$DESTDIR
devl547@13977 38 }
devl547@13977 39
devl547@13977 40 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@13977 41 genpkg_rules()
devl547@13977 42 {
Hans-G?nter@24933 43 cook_copy_folders lib
devl547@13977 44 }