wok-next annotate flac/receipt @ rev 20533
cairo-clock, grub4dos: fix CFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 27 12:50:45 2018 +0200 (2018-03-27) |
parents | 9278a60d6895 |
children | 835b3b8ce6ac |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pankso@292 | 2 |
pankso@292 | 3 PACKAGE="flac" |
al@19741 | 4 VERSION="1.3.2" |
pankso@292 | 5 CATEGORY="multimedia" |
al@19741 | 6 SHORT_DESC="FLAC stands for Free Lossless Audio Codec" |
pankso@292 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL2 LGPL2.1" |
pankso@292 | 9 WEB_SITE="http://flac.sourceforge.net/" |
jozee@4936 | 10 TAGS="codec audio" |
pankso@292 | 11 |
al@19741 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19741 | 13 WGET_URL="http://downloads.xiph.org/releases/flac/$TARBALL" |
al@19741 | 14 TARBALL_SHA256="91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f" |
al@19741 | 15 |
pascal@15588 | 16 BUILD_DEPENDS="libogg-dev" |
al@19741 | 17 SPLIT="flac-dev" |
pascal@15588 | 18 |
pankso@292 | 19 # Rules to configure and make the package. |
pankso@292 | 20 compile_rules() |
pankso@292 | 21 { |
erjo@4217 | 22 # gcc4 fix: http://bugs.gentoo.org/199579 |
al@19741 | 23 ./configure $CONFIGURE_ARGS && make && make install |
pankso@292 | 24 } |
pankso@292 | 25 |
pankso@292 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@292 | 27 genpkg_rules() |
pankso@292 | 28 { |
al@19741 | 29 case $PACKAGE in |
al@19741 | 30 flac) |
al@19741 | 31 copy @std |
al@19741 | 32 DEPENDS="libogg" |
al@19741 | 33 ;; |
al@19741 | 34 flac-dev) |
al@19741 | 35 copy @dev |
al@19741 | 36 DEPENDS="flac libogg-dev" |
al@19741 | 37 ;; |
al@19741 | 38 esac |
pankso@292 | 39 } |