# SliTaz package receipt. PACKAGE="libnice" VERSION="0.0.13" CATEGORY="system-tools" SHORT_DESC="The GLib ICE implementation." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" DEPENDS="gstreamer" BUILD_DEPENDS="gstreamer gstreamer-dev pkg-config glib-dev libxml2-dev" WEB_SITE="http://nice.freedesktop.org/" WGET_URL="http://nice.freedesktop.org/releases/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --with-gstreamer \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/usr/lib/gstreamer-* $fs/usr/lib rm $fs/usr/lib/gstreamer-*/*.*a }