wok-6.x rev 20490
Add meson & ninja
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 27 18:38:19 2018 +0200 (2018-10-27) |
parents | 403e94343cc5 |
children | fe90a00917af |
files | meson/receipt ninja/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/meson/receipt Sat Oct 27 18:38:19 2018 +0200 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="meson" 1.7 +VERSION="0.48.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The Meson Build System" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="Apache" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://mesonbuild.com" 1.14 +WGET_URL="https://github.com/mesonbuild/meson/releases/download/$VERSION/$TARBALL" 1.15 + 1.16 +DEPENDS="ninja py3k" 1.17 +BUILD_DEPENDS="py3k" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + python3 setup.py build && 1.23 + python3 setup.py install --root=$DESTDIR 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + cp -a $install/usr $fs/ 1.30 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/ninja/receipt Sat Oct 27 18:38:19 2018 +0200 2.3 @@ -0,0 +1,27 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="ninja" 2.7 +VERSION="1.8.2" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="A small build system with a focus on speed" 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="Apache" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="https://ninja-build.org/" 2.14 +WGET_URL="https://github.com/ninja-build/ninja/archive/v$VERSION.tar.gz" 2.15 + 2.16 +DEPENDS="gcc-lib-base" 2.17 +BUILD_DEPENDS="python" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + ./configure.py --bootstrap 2.23 +} 2.24 + 2.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.26 +genpkg_rules() 2.27 +{ 2.28 + mkdir -p $fs/usr/bin 2.29 + cp -a $src/ninja $fs/usr/bin 2.30 +}