core/libnice/PKGBUILD

29 lines
854 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
# $Id: PKGBUILD 500 2009-08-01 11:44:28Z ibiru $
2010-04-07 03:23:26 +08:00
# Maintainer: Ionut Biru <ibiru@archlinux.org>
2010-03-14 23:48:48 +08:00
# Contributor: William Díaz <wdiaz@archlinux.us>
pkgname=libnice
2010-04-07 03:23:26 +08:00
pkgver=0.0.11
2010-03-14 23:48:48 +08:00
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)
2010-04-07 03:23:26 +08:00
sha256sums=('a331a2cf4ec868a0d79175dc233f55e5a07c097a56643e8c1449505d83c32ece')
2010-03-14 23:48:48 +08:00
build() {
2010-04-07 03:23:26 +08:00
# export CFLAGS="$CFLAGS -fno-strict-aliasing"
2010-03-14 23:48:48 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--disable-dependency-tracking
make || return 1
#make sure that all tests pass
2010-04-07 03:23:26 +08:00
# make check || return 1
2010-03-14 23:48:48 +08:00
make DESTDIR=${pkgdir} install || return 1
}