wok view muparser/receipt @ rev 24768
libwebkit: bison 3 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 12:46:44 2022 +0000 (2022-03-19) |
parents | 5ea0ce1cecc0 |
children | 14a442b5fdf0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="muparser"
4 VERSION="2.2.6.1"
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.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS="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 ./configure \
30 --disable-samples \
31 $CONFIGURE_ARGS &&
32 make $MAKEFLAGS &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/
41 #cp -a $install/usr/bin $fs/usr/
42 cp -a $install/usr/lib $fs/usr/
43 }