wok-4.x view gstreamer/receipt @ rev 10013

binutils: use --build and --host like it was in 3.0 and above so we got the correct tripplet
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 05:35:18 2011 +0200 (2011-05-19)
parents 955ef520b5bf
children beb75c582d6c
line source
1 # SliTaz package receipt.
3 PACKAGE="gstreamer"
4 VERSION="0.10.32"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer Multimedia Framework"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="libxml2 glib"
9 BUILD_DEPENDS="intltool pkg-config bison flex glib-dev libxml2-dev python
10 python-dev m4 libgio-dev gobject-introspection-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://gstreamer.freedesktop.org/"
13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --disable-docs-build &&
24 make -j 4 &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
35 }