SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "muparser"

# SliTaz package receipt.

PACKAGE="muparser"
VERSION="2.3.3"
CATEGORY="development"
SHORT_DESC="A fast mathematical expression parser library."
MAINTAINER="devl547@gmail.com"
LICENSE="MIT"
WEB_SITE="https://beltoforion.de/en/muparser"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/beltoforion/$PACKAGE/archive/v$VERSION-1.tar.gz"

DEPENDS="gcc83-lib-base"
BUILD_DEPENDS="cmake gcc83"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;s|-|.|g;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export    CC=gcc-83
    export    CXX=g++-83

    mkdir    _build &&
    cd    _build &&
    cmake    ..                \
        -D ENABLE_OPENMP=OFF        \
        -D ENABLE_SAMPLES=OFF        \
        -D CMAKE_INSTALL_PREFIX=/usr &&
    make $MAKEFLAGS &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    lib
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)