2009-12-31 00:57:33 +01:00
|
|
|
# Template file for 'faad2'
|
|
|
|
pkgname=faad2
|
|
|
|
version=2.7
|
2015-09-11 13:37:10 +02:00
|
|
|
revision=8
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-12-31 00:57:33 +01:00
|
|
|
make_install_args="manmdir=/usr/share/man/man1"
|
|
|
|
short_desc="AAC decoding library"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-03-18 20:23:48 +01:00
|
|
|
homepage="http://www.audiocoding.com/"
|
|
|
|
license="Freeware, GPL-2"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/faac/$pkgname-$version.tar.bz2"
|
2009-12-31 00:57:33 +01:00
|
|
|
checksum=14561b5d6bc457e825bfd3921ae50a6648f377a9396eaf16d4b057b39a3f63b5
|
2014-02-19 14:34:42 +01:00
|
|
|
|
|
|
|
CFLAGS="-fPIC"
|
2009-12-31 00:57:33 +01:00
|
|
|
|
2013-03-18 20:23:48 +01:00
|
|
|
post_install() {
|
2014-02-19 14:34:42 +01:00
|
|
|
vinstall common/mp4ff/mp4ff_int_types.h 644 usr/include
|
2009-12-31 00:57:33 +01:00
|
|
|
mv ${DESTDIR}/usr/share/man/man1/faad.man \
|
|
|
|
${DESTDIR}/usr/share/man/man1/faad.1
|
|
|
|
}
|
2013-04-12 11:16:02 +02:00
|
|
|
|
|
|
|
faad2-devel_package() {
|
2014-02-19 14:34:42 +01:00
|
|
|
depends="faad2>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-12 11:16:02 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-19 14:34:42 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 11:16:02 +02:00
|
|
|
}
|
|
|
|
}
|