wok annotate libopusenc/receipt @ rev 22684
osmo: force .mo build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 19 15:15:22 2020 +0100 (2020-01-19) |
parents | |
children | 56ee356284c6 |
rev | line source |
---|---|
pascal@20519 | 1 # SliTaz package receipt. |
pascal@20519 | 2 |
pascal@20519 | 3 PACKAGE="libopusenc" |
pascal@20519 | 4 VERSION="0.2.1" |
pascal@20519 | 5 CATEGORY="multimedia" |
pascal@20519 | 6 SHORT_DESC="High-level Opus encoding library" |
pascal@20519 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20519 | 8 LICENSE="GPL2" |
pascal@20519 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20519 | 10 WEB_SITE="http://opus-codec.org/" |
pascal@20519 | 11 WGET_URL="https://archive.mozilla.org/pub/opus/$TARBALL" |
pascal@20519 | 12 |
pascal@20519 | 13 DEPENDS="opus" |
pascal@20519 | 14 BUILD_DEPENDS="opus-dev pkg-config" |
pascal@20519 | 15 |
pascal@20519 | 16 # Rules to configure and make the package. |
pascal@20519 | 17 compile_rules() |
pascal@20519 | 18 { |
pascal@20519 | 19 ./configure --prefix=/usr \ |
pascal@20519 | 20 $CONFIGURE_ARGS && \ |
pascal@20519 | 21 make && make DESTDIR=$DESTDIR install |
pascal@20519 | 22 } |
pascal@20519 | 23 |
pascal@20519 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20519 | 25 genpkg_rules() |
pascal@20519 | 26 { |
pascal@20519 | 27 mkdir -p $fs/usr/lib |
pascal@20519 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20519 | 29 } |