summaryrefslogtreecommitdiffstats
path: root/extra/flac/Pkgfile
blob: 14be4d2b9136ff0a796fff7067593d041918e245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Description: Similaire au codec MP3 mais sans perte d'information dans la compression donc sans perte de qualité 
# URL: http://flac.sourceforge.net/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libogg

name=flac
version=1.2.1
release=1
source=( http://downloads.sourceforge.net/$name/$name-$version.tar.gz\
	gcc4.patch)


build() {
	export MAKEFLAGS="-j1"
	cd $name-$version
	patch -Np0 -i ../gcc4.patch
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-shared \
		--disable-sse \
		--disable-thorough-tests \
		--disable-rpath \
		--with-pic
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/doc
}