wok view opus-tools/receipt @ rev 20490

Add meson & ninja
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 27 18:38:19 2018 +0200 (2018-10-27)
parents e1a48ceda4c1
children f0484014527d
line source
1 # SliTaz package receipt.
3 PACKAGE="opus-tools"
4 VERSION="0.1.10"
5 CATEGORY="multimedia"
6 SHORT_DESC="Opus encoder, decoder and tiny tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://opus-codec.org/"
11 WGET_URL="http://downloads.xiph.org/releases/opus/$TARBALL"
13 DEPENDS="libogg flac"
14 BUILD_DEPENDS="libogg libogg-dev opus-dev pkg-config flac-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 CFLAGS="$CFLAGS -lm"
21 ./configure --prefix=/usr \
22 $CONFIGURE_ARGS && \
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }