summaryrefslogtreecommitdiffstats
path: root/flac/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'flac/Pkgfile')
-rwxr-xr-xflac/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/flac/Pkgfile b/flac/Pkgfile
new file mode 100755
index 000000000..d39036648
--- /dev/null
+++ b/flac/Pkgfile
@@ -0,0 +1,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
+}
+