wok-current annotate flac/receipt @ rev 25669
Add rdfind, required for firmware build
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Mar 02 20:53:40 2024 +0000 (5 months ago) |
parents | bc2b9d9bed6f |
children |
rev | line source |
---|---|
pankso@292 | 1 # SliTaz package receipt. |
pankso@292 | 2 |
pankso@292 | 3 PACKAGE="flac" |
Hans-G?nter@24553 | 4 VERSION="1.3.4" |
pankso@292 | 5 CATEGORY="multimedia" |
Hans-G?nter@22728 | 6 TAGS="codec audio" |
Hans-G?nter@22728 | 7 SHORT_DESC="Free Lossless Audio Codec." |
pankso@292 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15588 | 9 LICENSE="GPL2 LGPL2.1" |
Hans-G?nter@22728 | 10 WEB_SITE="https://xiph.org/flac/" |
Hans-G?nter@22728 | 11 |
pascal@15844 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@24554 | 13 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL" |
Hans-G?nter@22728 | 14 |
shann@25593 | 15 DEPENDS="libogg" |
shann@25593 | 16 BUILD_DEPENDS="libogg-dev" |
Hans-G?nter@22728 | 17 |
pascal@19116 | 18 HOST_ARCH="i486 arm" |
pankso@292 | 19 |
pascal@24326 | 20 # What is the latest version available today? |
pascal@24069 | 21 current_version() |
pascal@24069 | 22 { |
pascal@24614 | 23 wget -O - https://ftp.osuosl.org/pub/xiph/releases/flac/ 2>/dev/null | \ |
pascal@24414 | 24 sed '/flac-/!d;/zip/d;s|.*flac-||;s|.tar.*||' | sort -Vr | sed q |
pascal@24069 | 25 } |
pascal@24069 | 26 |
pankso@292 | 27 # Rules to configure and make the package. |
pankso@292 | 28 compile_rules() |
pankso@292 | 29 { |
erjo@4217 | 30 # gcc4 fix: http://bugs.gentoo.org/199579 |
Hans-G?nter@22728 | 31 # busybox patch -p0 -i $stuff/flac-1.2.1_gcc4.u |
Hans-G?nter@22728 | 32 |
Hans-G?nter@22728 | 33 ./configure \ |
Hans-G?nter@22728 | 34 --prefix=/usr \ |
Hans-G?nter@22728 | 35 --mandir=/usr/share/man \ |
pascal@1451 | 36 $CONFIGURE_ARGS && |
pascal@1451 | 37 make && |
Hans-G?nter@24553 | 38 make install DESTDIR=$DESTDIR |
pankso@292 | 39 } |
pankso@292 | 40 |
pankso@292 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@292 | 42 genpkg_rules() |
pankso@292 | 43 { |
Hans-G?nter@24553 | 44 cook_copy_folders bin |
Hans-G?nter@24553 | 45 cook_copy_files *.so* |
pankso@292 | 46 } |