CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dosfstools: initial import (verified compilation).
[attic/ports/opt-cross.git] / flac / Pkgfile
... / ...
CommitLineData
1# Description: Free Lossless Audio Codec
2# URL: http://flac.sourceforge.net/
3# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
4# Packager: Matt Housh, jaeger at morpheus dot net
5# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6# Depends on: libogg
7
8name=flac
9version=1.2.1
10release=1
11source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz
12 $name.diff)
13
14build() {
15 cd $name-$version
16
17# fix compilation with gcc 4.3
18 patch -Np1 -i $SRC/$name.diff
19
20 ./configure --build=$CHOST \
21 --host=$CTARGET \
22 --prefix=/usr \
23 --with-ogg=$CLFS/usr/lib
24 make
25 make DESTDIR=$PKG install
26 rm -rf $PKG/usr/share/doc
27}