wok-next annotate opusfile/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents e7a485521d6a
children 7c5d038be95b
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@21020 15 SPLIT="$PACKAGE-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 }