wok-6.x view libtheora/receipt @ rev 25360
updated tk and tk-dev (8.6.10 -> 8.6.12)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 27 08:45:54 2022 +0100 (2022-07-27) |
parents | 6e8b1bcb30e2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libtheora"
4 VERSION="1.1.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Theora video codec and tools."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.theora.org/"
11 WGET_URL="https://downloads.xiph.org/releases/theora/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libogg libvorbis"
15 BUILD_DEPENDS="libogg-dev libvorbis-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/xiph/theora/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure \
29 --prefix=/usr \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS
32 make
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/libtheora.so* $fs/usr/lib
41 }