# SliTaz package receipt. PACKAGE="meson" VERSION="0.62.2" 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-setuptools" BUILD_DEPENDS="python3-setuptools" current_version() { wget -O - ${WGET_URL%/rele*} 2>/dev/null | \ sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q' } # 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 }