wok-next annotate opusfile/receipt @ rev 20905
Update packages from ISO and LFS backages (all but toolchain)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 07 00:30:45 2018 +0300 (2018-08-07) |
parents | 4a67f7e79846 |
children | d5aab818505e |
rev | line source |
---|---|
al@19868 | 1 # SliTaz package receipt v2. |
al@19868 | 2 |
al@19868 | 3 PACKAGE="opusfile" |
al@20905 | 4 VERSION="0.10" |
al@19868 | 5 CATEGORY="multimedia" |
al@19868 | 6 SHORT_DESC="Library for opening, seeking, and decoding .opus files" |
al@19868 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19868 | 8 LICENSE="BSD" |
al@19868 | 9 WEB_SITE="https://opus-codec.org/" |
al@19868 | 10 |
al@19868 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19868 | 12 WGET_URL="https://downloads.xiph.org/releases/opus/$TARBALL" |
al@19868 | 13 |
al@19868 | 14 BUILD_DEPENDS="openssl-dev libogg-dev opus-dev" |
al@19868 | 15 SPLIT="opusfile-dev" |
al@19868 | 16 |
al@19868 | 17 compile_rules() { |
al@20601 | 18 ./configure $CONFIGURE_ARGS && |
al@20601 | 19 fix libtool && |
al@20601 | 20 make && |
al@20601 | 21 make install |
al@19868 | 22 } |
al@19868 | 23 |
al@19868 | 24 genpkg_rules() { |
al@19868 | 25 case $PACKAGE in |
al@19868 | 26 opusfile) |
al@19868 | 27 copy @std |
al@20905 | 28 DEPENDS="libogg openssl opus" |
al@19868 | 29 ;; |
al@19868 | 30 *-dev) |
al@19868 | 31 copy @dev |
al@19868 | 32 DEPENDS="opusfile libogg-dev openssl-dev opus-dev" |
al@19868 | 33 ;; |
al@19868 | 34 esac |
al@19868 | 35 } |