# Contributor: Natanael Copa # Maintainer: Natanael Copa setvar pkgname = 'celt051' setvar pkgver = '0.5.1.3' setvar pkgrel = '0' setvar pkgdesc = ""An audio codec for use in low-delay speech and audio communication"" setvar url = ""http://www.celt-codec.org/"" setvar arch = ""all"" setvar license = ""BSD"" setvar depends = """" setvar makedepends = ""libogg-dev"" setvar install = """" setvar subpackages = ""$pkgname-dev"" setvar source = ""http://downloads.us.xiph.org/releases/celt/celt-$pkgver.tar.gz fix-gnuc-prereq.patch "" setvar _builddir = ""$srcdir"/celt-$pkgver" proc prepare { local i cd $_builddir update_config_sub || return 1 for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 } setvar md5sums = ""67e7b5e45db57a6f1f0a6962f5ecb190 celt-0.5.1.3.tar.gz c06dbc5c4867cbaf1163ac9bf709aea6 fix-gnuc-prereq.patch"" setvar sha256sums = ""fc2e5b68382eb436a38c3104684a6c494df9bde133c139fbba3ddb5d7eaa6a2e celt-0.5.1.3.tar.gz a4002f49a3e6856eae52d42b9c2d73a247581376ec8b2370b2d33cb4c9f211b4 fix-gnuc-prereq.patch"" setvar sha512sums = ""bf5621dc3ec1b0808bdd83f006fd7b88df1b6caffe07e18eb696c268b31c6c7127329ecb4c9582c44e0ecf9577bbe2f3dbe40f15b80f8681bb7f4115f1501921 celt-0.5.1.3.tar.gz 11008485bcf5dc61c107045c7ae292aa1296e54fc53ef835b58c38128f878af4021d14098ef87db9bf7e3162fac41739efa1522aa206c1a592244c57aa043663 fix-gnuc-prereq.patch""