wok view 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 (3 months ago)
parents 14a442b5fdf0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="muparser"
4 VERSION="2.3.3"
5 CATEGORY="development"
6 SHORT_DESC="A fast mathematical expression parser library."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://beltoforion.de/en/muparser"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/beltoforion/$PACKAGE/archive/v$VERSION-1.tar.gz"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="cmake gcc83"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;s|-|.|g;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export CC=gcc-83
28 export CXX=g++-83
30 mkdir _build &&
31 cd _build &&
32 cmake .. \
33 -D ENABLE_OPENMP=OFF \
34 -D ENABLE_SAMPLES=OFF \
35 -D CMAKE_INSTALL_PREFIX=/usr &&
36 make $MAKEFLAGS &&
37 make install DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_folders lib
44 }