wok diff libnice/receipt @ rev 19066
It works, but needs review and improvement. Thank you.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Apr 21 06:32:59 2016 -0300 (2016-04-21) |
parents | 326f6ec1d4ad |
children | a78610b2eb47 |
line diff
1.1 --- a/libnice/receipt Sat Sep 11 16:33:27 2010 +0000 1.2 +++ b/libnice/receipt Thu Apr 21 06:32:59 2016 -0300 1.3 @@ -5,11 +5,13 @@ 1.4 CATEGORY="system-tools" 1.5 SHORT_DESC="The GLib ICE implementation." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 +LICENSE="LGPL2.1 MPL" 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 +WEB_SITE="http://nice.freedesktop.org/" 1.10 +WGET_URL="http://nice.freedesktop.org/releases/$TARBALL" 1.11 + 1.12 DEPENDS="gstreamer" 1.13 BUILD_DEPENDS="gstreamer gstreamer-dev pkg-config glib-dev libxml2-dev" 1.14 -WEB_SITE="http://nice.freedesktop.org/" 1.15 -WGET_URL="http://nice.freedesktop.org/releases/$TARBALL" 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 @@ -21,15 +23,15 @@ 1.20 --with-gstreamer \ 1.21 $CONFIGURE_ARGS && 1.22 make && 1.23 - make DESTDIR=$PWD/_pkg install 1.24 + make DESTDIR=$DESTDIR install 1.25 } 1.26 1.27 # Rules to gen a SliTaz package suitable for Tazpkg. 1.28 genpkg_rules() 1.29 { 1.30 mkdir -p $fs/usr/lib 1.31 - cp -a $_pkg/usr/bin $fs/usr 1.32 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.33 - cp -a $_pkg/usr/lib/gstreamer-* $fs/usr/lib 1.34 + cp -a $install/usr/bin $fs/usr 1.35 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.36 + cp -a $install/usr/lib/gstreamer-* $fs/usr/lib 1.37 rm $fs/usr/lib/gstreamer-*/*.*a 1.38 }