wok annotate flac/receipt @ rev 24285
updated slurm (0.3.3 -> 0.4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 13 13:36:16 2022 +0100 (2022-01-13) |
parents | 7e911016a644 |
children | 095836df71b7 |
rev | line source |
---|---|
pankso@292 | 1 # SliTaz package receipt. |
pankso@292 | 2 |
pankso@292 | 3 PACKAGE="flac" |
Hans-G?nter@22728 | 4 VERSION="1.3.3" |
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" |
pascal@20669 | 13 WGET_URL="https://downloads.xiph.org/releases/$PACKAGE/$TARBALL" |
Hans-G?nter@22728 | 14 |
Hans-G?nter@22728 | 15 DEPENDS="gcc-lib-base libogg" |
Hans-G?nter@22728 | 16 BUILD_DEPENDS="libogg-dev" |
Hans-G?nter@22728 | 17 |
pascal@19116 | 18 HOST_ARCH="i486 arm" |
pankso@292 | 19 |
pascal@24069 | 20 current_version() |
pascal@24069 | 21 { |
pascal@24069 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24071 | 23 sed '/flac-/!d;/tar/!d;s|.*"flac-||;s|.tar.*||' | sort -V | sed '$!d' |
pascal@24069 | 24 } |
pascal@24069 | 25 |
pankso@292 | 26 # Rules to configure and make the package. |
pankso@292 | 27 compile_rules() |
pankso@292 | 28 { |
erjo@4217 | 29 # gcc4 fix: http://bugs.gentoo.org/199579 |
Hans-G?nter@22728 | 30 # busybox patch -p0 -i $stuff/flac-1.2.1_gcc4.u |
Hans-G?nter@22728 | 31 |
Hans-G?nter@22728 | 32 ./configure \ |
Hans-G?nter@22728 | 33 --prefix=/usr \ |
Hans-G?nter@22728 | 34 --mandir=/usr/share/man \ |
pascal@1451 | 35 $CONFIGURE_ARGS && |
pascal@1451 | 36 make && |
pankso@9806 | 37 make DESTDIR=$DESTDIR install |
pankso@292 | 38 } |
pankso@292 | 39 |
pankso@292 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@292 | 41 genpkg_rules() |
pankso@292 | 42 { |
pankso@292 | 43 mkdir -p $fs/usr/lib |
Hans-G?nter@22728 | 44 |
Hans-G?nter@22728 | 45 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22728 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@292 | 47 } |