wok view schroedinger/receipt @ rev 24535

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 23 11:49:52 2022 +0000 (2022-02-23)
parents 5286a067ac76
children 1805f71c5d9f
line source
1 # SliTaz package receipt.
3 PACKAGE="schroedinger"
4 VERSION="1.0.11"
5 CATEGORY="multimedia"
6 SHORT_DESC="Dirac video compression library"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="MPL LGPL GPL MIT"
9 WEB_SITE="http://diracvideo.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/download/$PACKAGE/$TARBALL"
13 DEPENDS="orc"
14 BUILD_DEPENDS="orc-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/Distrotech/dirac/tags 2>/dev/null | \
20 sed '/schroedinger/!d;/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --disable-static \
28 $CONFIGURE_ARGS && \
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 mv $install/usr/lib/*.so* $fs/usr/lib
37 }