updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lib32-libnice / PKGBUILD
blob53003ed2b4bf509da4990aa818873bd231aae105
1 _pkgbasename=libnice
2 pkgname=lib32-$_pkgbasename
3 pkgver=0.1.0
4 pkgrel=1
5 pkgdesc="An implementation of the IETF's draft ICE (for p2p UDP data streams) (32 bit)"
6 arch=('x86_64')
7 license=('LGPL')
8 url="http://nice.freedesktop.org/releases/"
9 depends=()
10 makedepends=('intltool' 'gcc-multilib')
11 options=('!libtool')
12 source=(${url}/libnice-${pkgver}.tar.gz)
13 md5sums=('c077e2aa74c9afb4b4e157efc8a6ad9d')
15 build() {
16   cd "${srcdir}/libnice-${pkgver}"
18   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
19                         --libexecdir=/usr/lib32 --libdir=/usr/lib32 \
20                         CC='gcc -m32' CXX='g++ -m32'
21   make
24 package() {
25   cd "${srcdir}/libnice-${pkgver}"
26   make DESTDIR="${pkgdir}" install
27   rm -rf ${pkgdir}/usr/{bin,include,share}