wok-next view libtheora/receipt @ rev 20569

Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 07:14:16 2018 +0300 (2018-04-13)
parents b2efa70e9283
children 5841522533ec
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://downloads.xiph.org/releases/theora/$TARBALL"
14 BUILD_DEPENDS="libogg-dev libvorbis-dev libpng16-dev"
15 SPLIT="libtheora-enc libtheora-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c &&
22 ./configure $CONFIGURE_ARGS && make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 libtheora)
30 copy libtheora.so*
31 DEPENDS="libogg"
32 ;;
33 *-enc)
34 copy libtheoradec.so* libtheoraenc.so*
35 CAT="multimedia|encoding/decoding library"
36 DEPENDS="libogg"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="libtheora libtheora-enc libogg-dev"
41 ;;
42 esac
43 }