summaryrefslogtreecommitdiffstats
path: root/extra/flac/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-10 21:33:17 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-10 21:33:17 +0200
commitf3f4014b2a66042e66cd704f9577eb2bc08fde51 (patch)
tree2f0a6338dec9a28a08903e24334224e95846f53f /extra/flac/Pkgfile
parent93af8a391b394cd8b099bcea99b89912772e83cf (diff)
downloadnutyx-pakxe-f3f4014b2a66042e66cd704f9577eb2bc08fde51.tar.gz
nutyx-pakxe-f3f4014b2a66042e66cd704f9577eb2bc08fde51.tar.bz2
nutyx-pakxe-f3f4014b2a66042e66cd704f9577eb2bc08fde51.tar.xz
nutyx-pakxe-f3f4014b2a66042e66cd704f9577eb2bc08fde51.zip
Ajout de flac#1.2.1-1
Diffstat (limited to 'extra/flac/Pkgfile')
-rwxr-xr-xextra/flac/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/flac/Pkgfile b/extra/flac/Pkgfile
new file mode 100755
index 000000000..f4346b18d
--- /dev/null
+++ b/extra/flac/Pkgfile
@@ -0,0 +1,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, xmms
+
+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
+}