# vim: syn=sh ft=sh et sw=2 sts=2 ts=2 tw=0: #Packager: Cyrille Pontvieux pkgname=libnice pkgver=0.1.4 pkgrel=1cp source=(http://nice.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz) sourcetemplate=http://people.salixos.org/jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://nice.freedesktop.org/wiki/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (The GLib ICE implementation)" "Libnice is an implementation of the IETF's draft Interactice" "Connectivity Establishment standard (ICE). It provides GLib-based" "library, libnice and GStreamer elements." "ICE is useful for applications that want to establish peer-to-peer UDP" "data streams. It automates the process of traversing NATs and provides" "security against some attacks." "Existing standards that use ICE include Session Initiation Protocol" "(SIP) and XMPP Jingle." ) build() { cd $SRC/$pkgname-$pkgver || return 1 ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --build=$arch-slackware-linux \ --enable-static=no \ --enable-gtk-doc-html=no \ || return 1 make -j $numjobs || return 1 make install DESTDIR=$PKG || return 1 # as it still built the gtk-doc, remove it rm -r $PKG/usr/share/gtk-doc }