mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
35 lines
891 B
Bash
35 lines
891 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=libnice
|
|
pkgver=0.1.0
|
|
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')
|
|
options=('!libtool')
|
|
source=(http://nice.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('c077e2aa74c9afb4b4e157efc8a6ad9d')
|
|
|
|
build() {
|
|
# export CFLAGS="$CFLAGS -fno-strict-aliasing"
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR=${pkgdir} install
|
|
}
|