wok-next annotate opusfile/receipt @ rev 20601
More fix libtool.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Apr 17 01:13:26 2018 +0300 (2018-04-17) |
parents | e6615350078d |
children | e7a485521d6a |
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@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@20453 | 28 DEPENDS="openssl libogg 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 } |