--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/flac
+-rwxr-xr-x root/root usr/bin/metaflac
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/FLAC++/
+-rw-r--r-- root/root usr/include/FLAC++/all.h
+-rw-r--r-- root/root usr/include/FLAC++/decoder.h
+-rw-r--r-- root/root usr/include/FLAC++/encoder.h
+-rw-r--r-- root/root usr/include/FLAC++/export.h
+-rw-r--r-- root/root usr/include/FLAC++/metadata.h
+drwxr-xr-x root/root usr/include/FLAC/
+-rw-r--r-- root/root usr/include/FLAC/all.h
+-rw-r--r-- root/root usr/include/FLAC/assert.h
+-rw-r--r-- root/root usr/include/FLAC/callback.h
+-rw-r--r-- root/root usr/include/FLAC/export.h
+-rw-r--r-- root/root usr/include/FLAC/format.h
+-rw-r--r-- root/root usr/include/FLAC/metadata.h
+-rw-r--r-- root/root usr/include/FLAC/ordinals.h
+-rw-r--r-- root/root usr/include/FLAC/stream_decoder.h
+-rw-r--r-- root/root usr/include/FLAC/stream_encoder.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libFLAC++.a
+-rwxr-xr-x root/root usr/lib/libFLAC++.la
+lrwxrwxrwx root/root usr/lib/libFLAC++.so -> libFLAC++.so.6.2.0
+lrwxrwxrwx root/root usr/lib/libFLAC++.so.6 -> libFLAC++.so.6.2.0
+-rwxr-xr-x root/root usr/lib/libFLAC++.so.6.2.0
+-rw-r--r-- root/root usr/lib/libFLAC.a
+-rwxr-xr-x root/root usr/lib/libFLAC.la
+lrwxrwxrwx root/root usr/lib/libFLAC.so -> libFLAC.so.8.2.0
+lrwxrwxrwx root/root usr/lib/libFLAC.so.8 -> libFLAC.so.8.2.0
+-rwxr-xr-x root/root usr/lib/libFLAC.so.8.2.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/flac++.pc
+-rw-r--r-- root/root usr/lib/pkgconfig/flac.pc
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/flac.1.gz
+-rw-r--r-- root/root usr/man/man1/metaflac.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/aclocal/
+-rw-r--r-- root/root usr/share/aclocal/libFLAC++.m4
+-rw-r--r-- root/root usr/share/aclocal/libFLAC.m4
--- /dev/null
+# Description: Free Lossless Audio Codec
+# URL: http://flac.sourceforge.net/
+# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
+# Packager: Matt Housh, jaeger at morpheus dot net
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: libogg
+
+name=flac
+version=1.2.1
+release=1
+source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz
+ $name.diff)
+
+build() {
+ cd $name-$version
+
+ # fix compilation with gcc 4.3
+ patch -Np1 -i $SRC/$name.diff
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --with-ogg=$CLFS/usr/lib
+ make
+ make DESTDIR=$PKG install
+ rm -rf $PKG/usr/share/doc
+}