wok-next annotate opusfile/receipt @ rev 19868
Up netsurf stuff, lxpanel, slitaz-next...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Sep 27 17:54:12 2017 +0300 (2017-09-27) |
parents | |
children | e6615350078d |
rev | line source |
---|---|
al@19868 | 1 # SliTaz package receipt v2. |
al@19868 | 2 |
al@19868 | 3 PACKAGE="opusfile" |
al@19868 | 4 VERSION="0.9" |
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@19868 | 18 ./configure $CONFIGURE_ARGS && make && make install |
al@19868 | 19 } |
al@19868 | 20 |
al@19868 | 21 genpkg_rules() { |
al@19868 | 22 case $PACKAGE in |
al@19868 | 23 opusfile) |
al@19868 | 24 copy @std |
al@19868 | 25 DEPENDS="libcrypto libogg libssl opus" |
al@19868 | 26 ;; |
al@19868 | 27 *-dev) |
al@19868 | 28 copy @dev |
al@19868 | 29 DEPENDS="opusfile libogg-dev openssl-dev opus-dev" |
al@19868 | 30 ;; |
al@19868 | 31 esac |
al@19868 | 32 } |