wok view libnice/receipt @ rev 10509

libtdb: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 15:43:17 2011 +0200 (2011-05-25)
parents 2f880c18b34a
children 4904e3d374a9
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="gstreamer"
10 BUILD_DEPENDS="gstreamer gstreamer-dev pkg-config glib-dev libxml2-dev"
11 WEB_SITE="http://nice.freedesktop.org/"
12 WGET_URL="http://nice.freedesktop.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --with-gstreamer \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/gstreamer-* $fs/usr/lib
34 rm $fs/usr/lib/gstreamer-*/*.*a
35 }