wok view muparser/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (22 months ago)
parents ad9008f821da
children 5db546345599
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;s|-|.|g;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export CC=gcc-83
27 export CXX=g++-83
29 mkdir _build &&
30 cd _build &&
31 cmake .. \
32 -D ENABLE_OPENMP=OFF \
33 -D ENABLE_SAMPLES=OFF \
34 -D CMAKE_INSTALL_PREFIX=/usr &&
35 make $MAKEFLAGS &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_folders lib
43 }