summaryrefslogtreecommitdiffstats
path: root/extra/liba52/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/liba52/Pkgfile')
-rwxr-xr-xextra/liba52/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/liba52/Pkgfile b/extra/liba52/Pkgfile
new file mode 100755
index 000000000..0da81a1f2
--- /dev/null
+++ b/extra/liba52/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Permet de décoder le codec ATSC (AC3)
+# URL: http://liba52.sourceforge.net/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libtool
+
+name=liba52
+version=0.7.4
+release=3
+source=(http://liba52.sourceforge.net/files/a52dec-$version.tar.gz \
+ http://nutyx.meticul.eu/files/patchs/$name/a52dec-0.7.4-build.patch)
+
+build() {
+ cd a52dec-$version
+ patch -Np1 -i ../a52dec-0.7.4-build.patch
+ ./bootstrap
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-shared
+ make
+ make DESTDIR=$PKG install
+ # required for xine-lib
+ install -m644 liba52/a52_internal.h $PKG/usr/include/a52dec/
+}