updated on Sun Jan 22 04:03:10 UTC 2012
[aur-mirror.git] / celt051 / PKGBUILD
blobaf146fe8158654f689765511fdca4fb271dcea3f
1 pkgname=celt051
2 pkgver=0.5.1.3
3 pkgrel=1
4 pkgdesc="Low-latency audio communication codec - SPICE version"
5 arch=(i686 x86_64)
6 url="http://www.celt-codec.org"
7 license=('BSD')
8 depends=('libogg')
9 makedepends=('rpmextract')
10 #options=('!libtool')
11 source=(ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/$pkgname-$pkgver-0.el5.src.rpm)
13 build() {
14   cd $srcdir
15   rpmextract.sh ${pkgname}-$pkgver-0.el5.src.rpm
16   tar xzf celt-0.5.1.3.tar.gz
17   cd "$srcdir/celt-0.5.1.3"
18   ./configure --prefix=/usr
19   sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
20   sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
21   make || return 1
22   make DESTDIR="$pkgdir" install
25 md5sums=('ccea4f23f9aef124c43bcf18453563c9')
26 md5sums=('9fa4b909dbcff768d57fefa2510b4f6d')