vp-build/srcpkgs/faad2/template

28 lines
822 B
Plaintext
Raw Normal View History

# Template file for 'faad2'
pkgname=faad2
version=2.7
revision=1
distfiles="${SOURCEFORGE_SITE}/faac/$pkgname-$version.tar.bz2"
CFLAGS="-fPIC"
build_style=gnu_configure
make_install_args="manmdir=/usr/share/man/man1"
short_desc="AAC decoding library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=14561b5d6bc457e825bfd3921ae50a6648f377a9396eaf16d4b057b39a3f63b5
long_desc="
FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly
decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type
AAC files."
subpackages="$pkgname-devel"
Add_dependency run glibc
post_install()
{
cd ${wrksrc} || return 1
install -D -m644 common/mp4ff/mp4ff_int_types.h \
${DESTDIR}/usr/include/mp4ff_int_types.h || return 1
mv ${DESTDIR}/usr/share/man/man1/faad.man \
${DESTDIR}/usr/share/man/man1/faad.1
}