# # Support Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa pkgname=ilbc pkgver=rfc3951 pkgrel=1 arch=(i686 x86_64) pkgdesc="A free speech codec suitable for robust VoIP" url="http://www.ilbcfreeware.org/" license=('custom') makedepends=('awk') options=(strip) source=(http://www.ietf.org/rfc/rfc3951.txt http://www.ilbcfreeware.org/documentation/extract-cfile.awk Makefile gips_iLBClicense.txt) md5sums=('984affd9bf2053064d744a2ccec82289' '24b50efef208a60dd1269b227b939a6a' 'f7174decaffa41cda6c1c5c7b6c52c7a' 'b738390e4108560b8b593454607ddc2b') build() { mkdir ${srcdir}/${pkgname}-${pkgver} cp ${srcdir}/Makefile ${srcdir}/${pkgname}-${pkgver} cd ${srcdir}/${pkgname}-${pkgver} awk -f ${srcdir}/extract-cfile.awk ${srcdir}/rfc3951.txt make || return 1 make DESTDIR=${pkgdir} install install -d ${pkgdir}/usr/share/licenses/ilbc install -D ${srcdir}/gips_iLBClicense.txt ${pkgdir}/usr/share/licenses/ilbc }