wok-current annotate libnice/receipt @ rev 4999
c*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 13:03:20 2010 +0100 (2010-02-28) |
parents | |
children | 326f6ec1d4ad |
rev | line source |
---|---|
pankso@4067 | 1 # SliTaz package receipt. |
pankso@4067 | 2 |
pankso@4067 | 3 PACKAGE="libnice" |
pankso@4067 | 4 VERSION="0.0.9" |
pankso@4067 | 5 CATEGORY="system-tools" |
pankso@4067 | 6 SHORT_DESC="The GLib ICE implementation." |
pankso@4067 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4067 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4067 | 9 DEPENDS="gstreamer" |
pankso@4067 | 10 BUILD_DEPENDS="gstreamer-dev" |
pankso@4067 | 11 WEB_SITE="http://nice.freedesktop.org/" |
pankso@4067 | 12 WGET_URL="http://nice.freedesktop.org/releases/$TARBALL" |
pankso@4067 | 13 |
pankso@4067 | 14 # Rules to configure and make the package. |
pankso@4067 | 15 compile_rules() |
pankso@4067 | 16 { |
pankso@4067 | 17 cd $src |
pankso@4067 | 18 ./configure \ |
pankso@4067 | 19 --prefix=/usr \ |
pankso@4067 | 20 --mandir=/usr/share/man \ |
pankso@4067 | 21 $CONFIGURE_ARGS && |
pankso@4067 | 22 make && |
pankso@4067 | 23 make DESTDIR=$PWD/_pkg install |
pankso@4067 | 24 } |
pankso@4067 | 25 |
pankso@4067 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4067 | 27 genpkg_rules() |
pankso@4067 | 28 { |
pankso@4067 | 29 mkdir -p $fs/usr/lib |
pankso@4067 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@4067 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4067 | 32 cp -a $_pkg/usr/lib/gstreamer-* $fs/usr/lib |
pankso@4067 | 33 rm $fs//usr/lib/gstreamer-*/*.*a |
pankso@4067 | 34 } |