wok diff orc/receipt @ rev 25562
ext4magic: add current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 01 08:21:00 2023 +0000 (16 months ago) |
parents | 5d79829fa876 |
children |
line diff
1.1 --- a/orc/receipt Wed Jul 07 17:56:16 2021 +0000 1.2 +++ b/orc/receipt Mon May 01 08:21:00 2023 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="orc" 1.7 -VERSION="0.4.29" 1.8 +VERSION="0.4.32" 1.9 CATEGORY="multimedia" 1.10 SHORT_DESC="The Oil Runtime Compiler." 1.11 MAINTAINER="domcox@slitaz.org" 1.12 @@ -11,6 +11,8 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.14 WGET_URL="https://gstreamer.freedesktop.org/src/$PACKAGE/$TARBALL" 1.15 1.16 +BUILD_DEPENDS="meson" 1.17 + 1.18 HOST_ARCH="i486 arm" 1.19 1.20 current_version() 1.21 @@ -22,19 +24,16 @@ 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 - ./configure \ 1.26 - --libexecdir=/usr/lib \ 1.27 - --disable-static \ 1.28 - $CONFIGURE_ARGS && 1.29 - make $MAKEFLAGS && 1.30 - make install 1.31 + meson _build \ 1.32 + --prefix=/usr && 1.33 + ninja -C _build && 1.34 + ninja -C _build install 1.35 + 1.36 } 1.37 1.38 # Rules to gen a SliTaz package suitable for Tazpkg. 1.39 genpkg_rules() 1.40 { 1.41 - mkdir -p $fs/usr/lib 1.42 - 1.43 - cp -a $install/usr/bin $fs/usr 1.44 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.45 + cook_copy_folders bin 1.46 + cook_copy_files *.so* 1.47 }