diff options
Diffstat (limited to 'repo/media/flac.xibuild')
-rw-r--r-- | repo/media/flac.xibuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/media/flac.xibuild b/repo/media/flac.xibuild new file mode 100644 index 0000000..82ad486 --- /dev/null +++ b/repo/media/flac.xibuild @@ -0,0 +1,28 @@ +#!/bin/bash + +MAKEDEPS=(make xmlto) +DEPS=(libogg nasm) + +DESC="Free Lossless Audio Codec" + +PKG_VER=1.3.3 +SOURCE=https://downloads.xiph.org/releases/flac/flac-$PKG_VER.tar.xz + +ADDITIONAL=( + https://www.linuxfromscratch.org/patches/blfs/svn/flac-$PKG_VER-security_fixes-1.patch + ) + +prepare () { + patch -Np1 -i flac-$PKG_VER-security_fixes-1.patch +} + +build () { + ./configure --prefix=/usr \ + --disable-thorough-tests \ + --docdir=/usr/share/doc/flac-$PKG_VER && + make +} + +package () { + make DESTDIR=$PKG_DEST install +} |