wok-current view orc/receipt @ rev 25361
sshrc: typo in wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 27 16:25:20 2022 +0000 (2022-07-27) |
parents | 5d79829fa876 |
children | 5926178cd6fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="orc"
4 VERSION="0.4.32"
5 CATEGORY="multimedia"
6 SHORT_DESC="The Oil Runtime Compiler."
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://gstreamer.freedesktop.org/projects/orc.html"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://gstreamer.freedesktop.org/src/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="meson"
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 meson _build \
28 --prefix=/usr &&
29 ninja -C _build &&
30 ninja -C _build install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders bin
38 cook_copy_files *.so*
39 }