wok-current annotate libtheora/receipt @ rev 15697
debootstrap: add tar depend
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 14:17:24 2013 +0100 (2013-12-21) |
parents | 265504ab5023 |
children | 53082fab5f1e |
rev | line source |
---|---|
pankso@1106 | 1 # SliTaz package receipt. |
pankso@1106 | 2 |
pankso@1106 | 3 PACKAGE="libtheora" |
devl547@5659 | 4 VERSION="1.1.1" |
pankso@1106 | 5 CATEGORY="multimedia" |
domcox@14008 | 6 SHORT_DESC="Theora video codec and tools." |
pankso@1106 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15482 | 8 LICENSE="BSD" |
pankso@4314 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@1106 | 10 WEB_SITE="http://www.theora.org/" |
pankso@1106 | 11 WGET_URL="http://downloads.xiph.org/releases/theora/$TARBALL" |
pankso@1106 | 12 |
pascal@15482 | 13 DEPENDS="libogg libvorbis" |
pascal@15482 | 14 BUILD_DEPENDS="libogg-dev libvorbis-dev" |
pascal@15482 | 15 |
pankso@1106 | 16 # Rules to configure and make the package. |
pankso@1106 | 17 compile_rules() |
pankso@1106 | 18 { |
pankso@1106 | 19 cd $src |
pankso@1106 | 20 ./configure \ |
pankso@1106 | 21 --prefix=/usr \ |
pankso@1106 | 22 --mandir=/usr/share/man \ |
pankso@1106 | 23 $CONFIGURE_ARGS |
pankso@1106 | 24 make |
pascal@15482 | 25 make DESTDIR=$DESTDIR install |
pankso@1106 | 26 } |
pankso@1106 | 27 |
pankso@1106 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1106 | 29 genpkg_rules() |
pankso@1106 | 30 { |
pankso@1106 | 31 mkdir -p $fs/usr/lib |
domcox@14008 | 32 cp -a $install/usr/lib/libtheora.so* $fs/usr/lib |
pankso@1106 | 33 } |
pankso@1106 | 34 |