# HG changeset patch # User Pascal Bellard # Date 1540658299 -7200 # Node ID 5ae1a319f0fed5262baf163f8c32851b24d473bb # Parent 403e94343cc587a1fc83138171a87cfcd8653342 Add meson & ninja diff -r 403e94343cc5 -r 5ae1a319f0fe meson/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/meson/receipt Sat Oct 27 18:38:19 2018 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="meson" +VERSION="0.48.1" +CATEGORY="development" +SHORT_DESC="The Meson Build System" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="Apache" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://mesonbuild.com" +WGET_URL="https://github.com/mesonbuild/meson/releases/download/$VERSION/$TARBALL" + +DEPENDS="ninja py3k" +BUILD_DEPENDS="py3k" + +# 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/ +} diff -r 403e94343cc5 -r 5ae1a319f0fe ninja/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ninja/receipt Sat Oct 27 18:38:19 2018 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="ninja" +VERSION="1.8.2" +CATEGORY="development" +SHORT_DESC="A small build system with a focus on speed" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="Apache" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://ninja-build.org/" +WGET_URL="https://github.com/ninja-build/ninja/archive/v$VERSION.tar.gz" + +DEPENDS="gcc-lib-base" +BUILD_DEPENDS="python" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure.py --bootstrap +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/ninja $fs/usr/bin +}