wok-next view flac/receipt @ rev 20158

lz4: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 16:59:12 2017 +0100 (2017-11-01)
parents 2f45bddbfd08
children c4e53a39395a
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="pankso@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="http://flac.sourceforge.net/"
10 TAGS="codec audio"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="http://downloads.xiph.org/releases/flac/$TARBALL"
15 TARBALL_SHA256="91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f"
17 BUILD_DEPENDS="libogg-dev"
18 SPLIT="flac-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # gcc4 fix: http://bugs.gentoo.org/199579
24 ./configure $CONFIGURE_ARGS && make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 flac)
32 copy @std
33 DEPENDS="libogg"
34 ;;
35 flac-dev)
36 copy @dev
37 DEPENDS="flac libogg-dev"
38 ;;
39 esac
40 }