milis/talimatname/genel/liba52/talimat

27 lines
716 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: ATSC A/52 akışlarını çözmek için ücretsiz bir kütüphane
# URL: http://liba52.sourceforge.net/
# Packager: milisarge
# Depends on:
name=liba52
version=0.7.4
release=1
source=(http://liba52.sourceforge.net/files/a52dec-$version.tar.gz)
build() {
cd a52dec-$version
./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-shared \
--disable-static \
CFLAGS="-g -O2 $([ $(uname -m) = x86_64 ] && echo -fPIC)"
make
make DESTDIR=$PKG install
# required for xine-lib
install -m644 liba52/a52_internal.h $PKG/usr/include/a52dec/
install -v -m644 -D doc/liba52.txt \
$PKG/usr/share/doc/liba52-$version/liba52.txt
}