wok annotate libtheora/receipt @ rev 24069

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 06 11:01:20 2021 +0000 (2021-07-06)
parents a78610b2eb47
children 544e47246b33
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"
pascal@20671 10 WEB_SITE="https://www.theora.org/"
pascal@20669 11 WGET_URL="https://downloads.xiph.org/releases/theora/$TARBALL"
pankso@16084 12 HOST_ARCH="i486 arm"
pankso@1106 13
pascal@15482 14 DEPENDS="libogg libvorbis"
pascal@15482 15 BUILD_DEPENDS="libogg-dev libvorbis-dev"
pascal@15482 16
pankso@1106 17 # Rules to configure and make the package.
pankso@1106 18 compile_rules()
pankso@1106 19 {
pankso@1106 20 cd $src
pankso@1106 21 ./configure \
pankso@1106 22 --prefix=/usr \
pankso@1106 23 --mandir=/usr/share/man \
pankso@1106 24 $CONFIGURE_ARGS
pankso@1106 25 make
pascal@15482 26 make DESTDIR=$DESTDIR install
pankso@1106 27 }
pankso@1106 28
pankso@1106 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1106 30 genpkg_rules()
pankso@1106 31 {
pankso@1106 32 mkdir -p $fs/usr/lib
domcox@14008 33 cp -a $install/usr/lib/libtheora.so* $fs/usr/lib
pankso@1106 34 }
pankso@1106 35