wok-current view libnice/receipt @ rev 14714
lib[a-n]*: add LICENSE
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Tue Jun 11 10:41:23 2013 +0200 (2013-06-11) | 
| parents | 326f6ec1d4ad | 
| children | a78610b2eb47 | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="libnice"
     4 VERSION="0.0.13"
     5 CATEGORY="system-tools"
     6 SHORT_DESC="The GLib ICE implementation."
     7 MAINTAINER="pankso@slitaz.org"
     8 LICENSE="LGPL2.1 MPL"
     9 TARBALL="$PACKAGE-$VERSION.tar.gz"
    10 WEB_SITE="http://nice.freedesktop.org/"
    11 WGET_URL="http://nice.freedesktop.org/releases/$TARBALL"
    13 DEPENDS="gstreamer"
    14 BUILD_DEPENDS="gstreamer gstreamer-dev pkg-config glib-dev libxml2-dev"
    16 # Rules to configure and make the package.
    17 compile_rules()
    18 {
    19     cd $src
    20     ./configure \
    21     	--prefix=/usr \
    22     	--mandir=/usr/share/man \
    23 	--with-gstreamer \
    24     	$CONFIGURE_ARGS &&
    25     make &&
    26     make DESTDIR=$DESTDIR install
    27 }
    29 # Rules to gen a SliTaz package suitable for Tazpkg.
    30 genpkg_rules()
    31 {
    32 	mkdir -p $fs/usr/lib
    33 	cp -a $install/usr/bin $fs/usr
    34 	cp -a $install/usr/lib/*.so* $fs/usr/lib
    35 	cp -a $install/usr/lib/gstreamer-* $fs/usr/lib
    36 	rm $fs/usr/lib/gstreamer-*/*.*a
    37 }