summaryrefslogtreecommitdiffstats
path: root/liba52/Pkgfile
blob: 0da81a1f226b10a4f0b62ef008c921ed0e50be74 (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
# 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/
}