wok-current view flac/receipt @ rev 23702
Up tazlito (525)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 28 07:57:17 2020 +0000 (2020-04-28) |
parents | a78610b2eb47 |
children | 7e911016a644 |
line source
1 # SliTaz package receipt.
3 PACKAGE="flac"
4 VERSION="1.3.3"
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="https://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
15 DEPENDS="gcc-lib-base libogg"
16 BUILD_DEPENDS="libogg-dev"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # gcc4 fix: http://bugs.gentoo.org/199579
24 # busybox patch -p0 -i $stuff/flac-1.2.1_gcc4.u
26 ./configure \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }