# HG changeset patch # User Christophe Lincoln # Date 1252655511 -7200 # Node ID 2f880c18b34a404655ecdb4ef65963e8e05d5df9 # Parent bd3cb4a88f31ff37de3ef4c52e61cdb4c795ae78 Add: libnice (The GLib ICE implementation) diff -r bd3cb4a88f31 -r 2f880c18b34a libnice-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnice-dev/receipt Fri Sep 11 09:51:51 2009 +0200 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="libnice-dev" +VERSION="0.0.9" +CATEGORY="development" +SHORT_DESC="Libnice devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="libnice" +WEB_SITE="http://nice.freedesktop.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/lib/gstreamer-* $fs/usr/lib + rm $fs//usr/lib/gstreamer-*/*.so* + cp -a $_pkg/usr/include $fs/usr +} diff -r bd3cb4a88f31 -r 2f880c18b34a libnice/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnice/receipt Fri Sep 11 09:51:51 2009 +0200 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="libnice" +VERSION="0.0.9" +CATEGORY="system-tools" +SHORT_DESC="The GLib ICE implementation." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +DEPENDS="gstreamer" +BUILD_DEPENDS="gstreamer-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 \ + $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 +}