wok-next view libtheora/receipt @ rev 20204
libjreen: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 22:50:48 2017 +0100 (2017-11-03) |
parents | 53082fab5f1e |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libtheora"
4 VERSION="1.1.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Theora video compression format"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.theora.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://downloads.xiph.org/releases/theora/$TARBALL"
15 BUILD_DEPENDS="libogg-dev libvorbis-dev libpng16-dev"
16 SPLIT="libtheora-enc libtheora-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c &&
23 ./configure $CONFIGURE_ARGS && make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 case $PACKAGE in
30 libtheora)
31 copy libtheora.so*
32 DEPENDS="libogg"
33 ;;
34 *-enc)
35 copy libtheoradec.so* libtheoraenc.so*
36 CAT="multimedia|encoding/decoding library"
37 DEPENDS="libogg"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="libtheora libtheora-enc libogg-dev"
42 ;;
43 esac
44 }