wok view orc/receipt @ rev 24433
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 12 18:42:31 2022 +0000 (2022-02-12) |
parents | 3fe6c0591041 |
children | 1b762db897fb |
line source
1 # SliTaz package receipt.
3 PACKAGE="orc"
4 VERSION="0.4.29"
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 HOST_ARCH="i486 arm"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --libexecdir=/usr/lib \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make $MAKEFLAGS &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }