summaryrefslogtreecommitdiffstats
path: root/flac/Pkgfile
blob: d39036648eda7bcd58ada2f1943715d7bdce6c52 (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
30
# 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
# Run on: libogg

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


build() {
	cd $name-$version
	patch -Np0 -i ../flac-1.2.1-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
}