blob: d1163948cbc09bb4d7af49e7420274eeba25a68c (
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
25
26
27
28
29
30
31
32
33
34
|
#!/bin/sh
NAME="a52dec"
DESC="A free library for decoding ATSC A/52 streams."
MAKEDEPS="autoconf automake libtool linux-headers"
PKG_VER=0.7.4
SOURCE="http://liba52.sourceforge.net/files/a52dec-$PKG_VER.tar.gz"
ADDITIONAL="
a52dec-0.7.4-build.patch
automake.patch
fix-globals-test-x86-pie.patch
"
prepare() {
apply_patches
libtoolize --force && \
aclocal && autoconf && automake --add-missing
}
build() {
./configure \
--prefix=/usr \
--enable-shared
make
}
package() {
make DESTDIR="$PKG_DEST" install
install -m644 liba52/a52_internal.h "$PKG_DEST"/usr/include/a52dec/
}
|