diff --git a/srcpkgs/faad2/template b/srcpkgs/faad2/template index 7c995bf5db..4cb03876d3 100644 --- a/srcpkgs/faad2/template +++ b/srcpkgs/faad2/template @@ -1,9 +1,8 @@ # Template file for 'faad2' pkgname=faad2 version=2.7 -revision=5 +revision=6 build_style=gnu-configure -configure_args="CFLAGS=-fPIC" make_install_args="manmdir=/usr/share/man/man1" short_desc="AAC decoding library" maintainer="Juan RP " @@ -11,23 +10,21 @@ homepage="http://www.audiocoding.com/" license="Freeware, GPL-2" distfiles="${SOURCEFORGE_SITE}/faac/$pkgname-$version.tar.bz2" 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." + +CFLAGS="-fPIC" post_install() { - install -D -m644 common/mp4ff/mp4ff_int_types.h \ - ${DESTDIR}/usr/include/mp4ff_int_types.h + vinstall common/mp4ff/mp4ff_int_types.h 644 usr/include mv ${DESTDIR}/usr/share/man/man1/faad.man \ ${DESTDIR}/usr/share/man/man1/faad.1 } faad2-devel_package() { - depends="faad2>=${version}" - short_desc="${short_desc} - development files" + depends="faad2>=${version}_${revision}" + short_desc+=" - development files" pkg_install() { vmove usr/include vmove "usr/lib/*.a" + vmove "usr/lib/*.so" } }