# Template file for 'faac' pkgname=faac version=1.29.2 revision=1 build_style=gnu-configure configure_args="--disable-static" hostmakedepends="automake libtool" short_desc="AAC audio encoder library" maintainer="Juan RP " homepage="http://www.audiocoding.com/" license="LGPL-2" distfiles="${SOURCEFORGE_SITE}/faac/faac-${version}.tar.gz" checksum=c7c46b2b98e99e1597233039f7dd3923f2f9aa91d7d84bcac10d73614a369c63 pre_configure() { find . -type f -print0 | xargs -0 sed -i 's/\r//g' sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac ./bootstrap } faac-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove "usr/lib/*.so" } }