2012-06-20 21:58:16 +02:00
|
|
|
# Description: Free Lossless Audio Codec.
|
2013-04-08 13:58:27 +02:00
|
|
|
# URL: http://xiph.org/flac/
|
2012-06-20 21:58:16 +02:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2006-02-23 16:26:10 +01:00
|
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
|
|
|
# Depends on: libogg
|
|
|
|
|
|
|
|
name=flac
|
2014-07-02 09:05:47 +02:00
|
|
|
version=1.3.0
|
|
|
|
release=1
|
|
|
|
source=(http://downloads.xiph.org/releases/flac/$name-$version.tar.xz
|
|
|
|
flac-realloc.patch)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2008-10-23 18:36:34 +02:00
|
|
|
|
2014-07-02 09:05:47 +02:00
|
|
|
patch -p1 -i $SRC/flac-realloc.patch
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=/usr/man
|
2008-10-23 18:36:34 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2014-07-02 09:05:47 +02:00
|
|
|
|
2013-04-08 13:58:27 +02:00
|
|
|
rm -r $PKG/usr/share/doc
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|