wok-6.x view flac/receipt @ rev 21975

updated st (0.5 -> 0.8.2)
author Hans-G?nter Theisgen
date Fri Oct 11 14:31:25 2019 +0100 (2019-10-11)
parents 2f45bddbfd08
children 8c7632a2b212
line source
1 # SliTaz package receipt.
3 PACKAGE="flac"
4 VERSION="1.3.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="FLAC stands for Free Lossless Audio Codec."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://flac.sourceforge.net/"
11 WGET_URL="https://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
12 TAGS="codec audio"
13 HOST_ARCH="i486 arm"
15 DEPENDS="libogg gcc-lib-base"
16 BUILD_DEPENDS="libogg-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # gcc4 fix: http://bugs.gentoo.org/199579
22 busybox patch -p0 -i $stuff/flac-1.2.1_gcc4.u
23 cd $src
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }