wok annotate libtheora/receipt @ rev 4314
Up: libogg, libtheora, *vorbis* to last stable release
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Sep 28 21:13:27 2009 +0200 (2009-09-28) |
parents | 7ac4cf969493 |
children | 33e4f7996e84 |
rev | line source |
---|---|
pankso@1106 | 1 # SliTaz package receipt. |
pankso@1106 | 2 |
pankso@1106 | 3 PACKAGE="libtheora" |
pankso@4314 | 4 VERSION="1.1.0" |
pankso@1106 | 5 CATEGORY="multimedia" |
pankso@1106 | 6 SHORT_DESC="Thera video codec and tools." |
pankso@1106 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@1106 | 8 DEPENDS="libogg libvorbis" |
pankso@1106 | 9 BUILD_DEPENDS="libogg-dev libvorbis-dev" |
pankso@4314 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@1106 | 11 WEB_SITE="http://www.theora.org/" |
pankso@1106 | 12 WGET_URL="http://downloads.xiph.org/releases/theora/$TARBALL" |
pankso@1106 | 13 |
pankso@1106 | 14 # Rules to configure and make the package. |
pankso@1106 | 15 compile_rules() |
pankso@1106 | 16 { |
pankso@1106 | 17 cd $src |
pankso@1106 | 18 ./configure \ |
pankso@1106 | 19 --prefix=/usr \ |
pankso@1106 | 20 --mandir=/usr/share/man \ |
pankso@1106 | 21 $CONFIGURE_ARGS |
pankso@1106 | 22 make |
pankso@1106 | 23 make DESTDIR=$PWD/_pkg install |
pankso@1106 | 24 } |
pankso@1106 | 25 |
pankso@1106 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1106 | 27 genpkg_rules() |
pankso@1106 | 28 { |
pankso@1106 | 29 mkdir -p $fs/usr/lib |
pankso@1106 | 30 cp -a $_pkg/usr/lib/libtheora.so* $fs/usr/lib |
pankso@1106 | 31 } |
pankso@1106 | 32 |