wok-next view flac/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 835b3b8ce6ac
children 29128929e4f9
line source
1 # SliTaz package receipt v2.
3 PACKAGE="flac"
4 VERSION="1.3.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="FLAC stands for Free Lossless Audio Codec"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://xiph.org/flac/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://downloads.xiph.org/releases/flac/$TARBALL"
13 TARBALL_SHA256="91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f"
15 BUILD_DEPENDS="libogg-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 # gcc4 fix: http://bugs.gentoo.org/199579
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 flac)
29 copy @std
30 DEPENDS="libogg"
31 TAGS="codec audio"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="flac libogg-dev"
36 ;;
37 esac
38 }