2013-08-10 13:14:57 +02:00
|
|
|
# Description: Free Lossless Audio Codec.
|
2020-06-18 02:38:34 +02:00
|
|
|
# URL: https://xiph.org/flac/
|
2013-08-10 13:14:57 +02:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
# Depends on: libogg-32
|
|
|
|
|
|
|
|
name=flac-32
|
2022-02-21 13:05:22 +01:00
|
|
|
version=1.3.4
|
2014-07-02 10:31:30 +02:00
|
|
|
release=1
|
2019-04-14 13:25:40 +02:00
|
|
|
source=(https://downloads.xiph.org/releases/flac/flac-$version.tar.xz)
|
2013-08-10 13:14:57 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd flac-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2014-07-02 10:31:30 +02:00
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--host=i686-pc-linux-gnu \
|
|
|
|
--with-ogg-libraries=/usr/lib32
|
2013-08-10 13:14:57 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2022-02-21 13:05:22 +01:00
|
|
|
|
2017-01-02 05:56:57 +01:00
|
|
|
rm -r $PKG/usr/{bin,include,share/{aclocal,doc,man}}
|
2013-08-10 13:14:57 +02:00
|
|
|
rmdir $PKG/usr/share
|
|
|
|
}
|