# SliTaz package receipt.

PACKAGE="meson"
VERSION="0.57.1"
CATEGORY="development"
SHORT_DESC="The Meson Build System."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="Apache"
WEB_SITE="https://mesonbuild.com/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/mesonbuild/$PACKAGE/releases/download/$VERSION/$TARBALL"

DEPENDS="ninja python3"
BUILD_DEPENDS="python3 python3-setuptools"

# Rules to configure and make the package.
compile_rules()
{
        python3 setup.py build &&
        python3 setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
        cp -a $install/usr      $fs
}