wok-current view flac/receipt @ rev 20008
Add: description.txt and links revision.
author | Leonardo Laporte <hackdorte@yandex.com> |
---|---|
date | Wed Aug 02 14:08:19 2017 -0300 (2017-08-02) |
parents | 085ef78705d6 |
children | a78610b2eb47 |
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="http://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 }