wok annotate opus-tools/receipt @ rev 13361
Add opus-tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 12 16:59:14 2012 +0200 (2012-09-12) |
parents | |
children | 7896f0694ef6 |
rev | line source |
---|---|
pascal@13361 | 1 # SliTaz package receipt. |
pascal@13361 | 2 |
pascal@13361 | 3 PACKAGE="opus-tools" |
pascal@13361 | 4 VERSION="0.1.5" |
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@13361 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13361 | 9 WEB_SITE="http://opus-codec.org/" |
pascal@13361 | 10 WGET_URL="http://downloads.xiph.org/releases/opus/$TARBALL" |
pascal@13361 | 11 |
pascal@13361 | 12 DEPENDS="libogg" |
pascal@13361 | 13 BUILD_DEPENDS="libogg libogg-dev opus pkgconfig" |
pascal@13361 | 14 |
pascal@13361 | 15 # Rules to configure and make the package. |
pascal@13361 | 16 compile_rules() |
pascal@13361 | 17 { |
pascal@13361 | 18 cd $src |
pascal@13361 | 19 ./configure --prefix=/usr \ |
pascal@13361 | 20 $CONFIGURE_ARGS && \ |
pascal@13361 | 21 make && make DESTDIR=$DESTDIR install |
pascal@13361 | 22 } |
pascal@13361 | 23 |
pascal@13361 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13361 | 25 genpkg_rules() |
pascal@13361 | 26 { |
pascal@13361 | 27 mkdir -p $fs/usr |
pascal@13361 | 28 cp -a $install/usr/bin $fs/usr |
pascal@13361 | 29 } |
pascal@13361 | 30 |