wok-undigest rev 1250

copied recipes for meson and ninja from cooking wok
author Hans-G?nter Theisgen
date Fri Aug 12 17:42:26 2022 +0100 (20 months ago)
parents 57a87b053682
children e53d2a350e32
files e18/receipt meson/receipt ninja/receipt
line diff
     1.1 --- a/e18/receipt	Fri Aug 12 17:25:37 2022 +0100
     1.2 +++ b/e18/receipt	Fri Aug 12 17:42:26 2022 +0100
     1.3 @@ -17,14 +17,13 @@
     1.4  
     1.5  SUGGESTED="wpa_supplicant connman pm-utils"
     1.6  DEPENDS="efl elementary pam xcb-util-keysyms"
     1.7 -BUILD_DEPENDS=" gstreamer-1.0 gstreamer-1.0-dev gst-plugins-base-1.0-dev efl efl-dev \
     1.8 -elementary-dev pam-dev xcb-util-keysyms-dev
     1.9 -gstreamer-1.0-dev gst-plugins-base-1.0-dev check-dev \
    1.10 -util-linux-mount-dev util-linux-blkid-dev udev-dev openssl-dev dbus-dev \
    1.11 -jpeg-dev fribidi-dev giflib-dev tiff-dev libsndfile-dev lua-dev \
    1.12 -xorg-libXp-dev xorg-printproto xorg-scrnsaverproto xorg-libXScrnSaver-dev \
    1.13 -mesa-dev util-linux-uuid-dev libxml2-dev autoconf automake icu-dev \
    1.14 -harfbuzz-dev luajit-dev bullet-dev"
    1.15 +BUILD_DEPENDS="bullet-dev check-dev dbus-dev efl efl-dev elementary-dev gstreamer-1.0 gstreamer-1.0-dev
    1.16 +	gst-plugins-base-1.0-dev pam-dev
    1.17 +	util-linux-mount-dev util-linux-blkid-dev udev-dev openssl-dev
    1.18 +	jpeg-dev fribidi-dev giflib-dev tiff-dev libsndfile-dev lua-dev \
    1.19 +	xorg-libXp-dev xorg-printproto xorg-scrnsaverproto xorg-libXScrnSaver-dev \
    1.20 +	mesa-dev shared-mime-info util-linux-uuid-dev libxml2-dev autoconf automake icu-dev \
    1.21 +	harfbuzz-dev luajit-dev xcb-util-keysyms-dev"
    1.22  
    1.23  # Handle cross compilation
    1.24  case "$ARCH" in
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/meson/receipt	Fri Aug 12 17:42:26 2022 +0100
     2.3 @@ -0,0 +1,34 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="meson"
     2.7 +VERSION="0.62.2"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="The Meson Build System."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="Apache"
    2.12 +WEB_SITE="https://mesonbuild.com/"
    2.13 +
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15 +WGET_URL="https://github.com/mesonbuild/$PACKAGE/releases/download/$VERSION/$TARBALL"
    2.16 +
    2.17 +DEPENDS="ninja py3k"
    2.18 +BUILD_DEPENDS="py3k"
    2.19 +
    2.20 +current_version()
    2.21 +{
    2.22 +	wget -O - ${WGET_URL%/rele*} 2>/dev/null | \
    2.23 +	sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
    2.24 +}
    2.25 +
    2.26 +# Rules to configure and make the package.
    2.27 +compile_rules()
    2.28 +{
    2.29 +	python3 setup.py build &&
    2.30 +	python3 setup.py install --root=$DESTDIR
    2.31 +}
    2.32 +
    2.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.34 +genpkg_rules()
    2.35 +{
    2.36 +	cp -a $install/usr	$fs
    2.37 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/ninja/receipt	Fri Aug 12 17:42:26 2022 +0100
     3.3 @@ -0,0 +1,37 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="ninja"
     3.7 +VERSION="1.11.0"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="A small build system with a focus on speed."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="Apache"
    3.12 +WEB_SITE="https://ninja-build.org/"
    3.13 +
    3.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.15 +WGET_URL="https://github.com/ninja-build/$PACKAGE/archive/v$VERSION.tar.gz"
    3.16 +
    3.17 +DEPENDS="gcc-lib-base"
    3.18 +BUILD_DEPENDS="python"
    3.19 +
    3.20 +current_version()
    3.21 +{
    3.22 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    3.23 +	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    3.24 +}
    3.25 +
    3.26 +# Rules to configure and make the package.
    3.27 +compile_rules()
    3.28 +{
    3.29 +	./configure.py --bootstrap
    3.30 +}
    3.31 +
    3.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.33 +genpkg_rules()
    3.34 +{
    3.35 +	mkdir -p $fs/usr/bin
    3.36 +	mkdir -p $install/usr/share/doc
    3.37 +
    3.38 +	cp $src/doc/manual.asciidoc	$install/usr/share/doc
    3.39 +	cp -a $src/ninja		$fs/usr/bin
    3.40 +}