wok annotate opus-tools/receipt @ rev 20815
cvs: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 16:14:25 2019 +0100 (2019-02-18) |
parents | f0484014527d |
children | 56ee356284c6 |
rev | line source |
---|---|
pascal@13361 | 1 # SliTaz package receipt. |
pascal@13361 | 2 |
pascal@13361 | 3 PACKAGE="opus-tools" |
pascal@20518 | 4 VERSION="0.2" |
pascal@13361 | 5 CATEGORY="multimedia" |
pascal@13361 | 6 SHORT_DESC="Opus encoder, decoder and tiny tools." |
pascal@13361 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@13361 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13361 | 10 WEB_SITE="http://opus-codec.org/" |
pascal@20518 | 11 WGET_URL="https://archive.mozilla.org/pub/opus/$TARBALL" |
pascal@13361 | 12 |
pascal@20519 | 13 DEPENDS="libogg flac opusfile libopusenc" |
pascal@20519 | 14 BUILD_DEPENDS="libogg libogg-dev opus-dev pkg-config flac-dev \ |
pascal@20519 | 15 opusfile-dev libopusenc-dev" |
pascal@13361 | 16 |
pascal@13361 | 17 # Rules to configure and make the package. |
pascal@13361 | 18 compile_rules() |
pascal@13361 | 19 { |
devl547@16197 | 20 CFLAGS="$CFLAGS -lm" |
pascal@13361 | 21 ./configure --prefix=/usr \ |
pascal@13361 | 22 $CONFIGURE_ARGS && \ |
pascal@13361 | 23 make && make DESTDIR=$DESTDIR install |
pascal@13361 | 24 } |
pascal@13361 | 25 |
pascal@13361 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13361 | 27 genpkg_rules() |
pascal@13361 | 28 { |
pascal@13361 | 29 mkdir -p $fs/usr |
pascal@13361 | 30 cp -a $install/usr/bin $fs/usr |
pascal@13361 | 31 } |