mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
29 lines
874 B
Bash
29 lines
874 B
Bash
# $Id: PKGBUILD 500 2009-08-01 11:44:28Z ibiru $
|
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
|
# Contributor: Biru Ionut <biru.ionut at gmail.com>
|
|
# Contributor: William Díaz <wdiaz@archlinux.us>
|
|
|
|
pkgname=libnice
|
|
pkgver=0.0.9
|
|
pkgrel=1
|
|
pkgdesc="An implementation of the IETF's draft ICE (for p2p UDP data streams)"
|
|
arch=('i686' 'x86_64')
|
|
url="http://nice.freedesktop.org"
|
|
license=('LGPL')
|
|
depends=('gstreamer0.10')
|
|
makedepends=('pkgconfig')
|
|
options=('!libtool')
|
|
source=(http://nice.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('19ac2565ee7487c1f32487b948110b19')
|
|
|
|
build() {
|
|
export CFLAGS="$CFLAGS -fno-strict-aliasing"
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--disable-dependency-tracking
|
|
make || return 1
|
|
#make sure that all tests pass
|
|
make check || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|