wok view flac/receipt @ rev 24554
updated flac and flac-dev again (1.3.3 -> 1.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 11:25:23 2022 +0100 (2022-02-25) |
parents | 67565ccdef88 |
children | bc2b9d9bed6f |
line source
1 # SliTaz package receipt.
3 PACKAGE="flac"
4 VERSION="1.3.4"
5 CATEGORY="multimedia"
6 TAGS="codec audio"
7 SHORT_DESC="Free Lossless Audio Codec."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2 LGPL2.1"
10 WEB_SITE="https://xiph.org/flac/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
15 DEPENDS="gcc83-lib-base libogg"
16 BUILD_DEPENDS="gcc83 libogg-dev"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/flac/ 2>/dev/null | \
24 sed '/flac-/!d;/zip/d;s|.*flac-||;s|.tar.*||' | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # gcc4 fix: http://bugs.gentoo.org/199579
31 # busybox patch -p0 -i $stuff/flac-1.2.1_gcc4.u
33 ./configure \
34 CC=gcc-83 \
35 --prefix=/usr \
36 --mandir=/usr/share/man \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install DESTDIR=$DESTDIR
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_folders bin
46 cook_copy_files *.so*
47 }