summaryrefslogtreecommitdiffstats
path: root/base/liba52/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/liba52/Pkgfile')
-rwxr-xr-xbase/liba52/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/base/liba52/Pkgfile b/base/liba52/Pkgfile
new file mode 100755
index 000000000..e23910cd9
--- /dev/null
+++ b/base/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:
+
+name=liba52
+version=0.7.4
+release=3
+source=(http://liba52.sourceforge.net/files/a52dec-$version.tar.gz \
+ 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 -j3
+ make DESTDIR=$PKG install
+ # required for xine-lib
+ install -m644 liba52/a52_internal.h $PKG/usr/include/a52dec/
+}