wok annotate gst-plugins-base/receipt @ rev 7846
Up: linuxqq v1.0.2
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Tue Dec 28 16:07:50 2010 +0000 (2010-12-28) |
parents | d71ea69c5c85 |
children | 065dd5076f8a |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-plugins-base" |
slaxemulator@7462 | 4 VERSION="0.10.31" |
jozee@2674 | 5 CATEGORY="multimedia" |
jozee@2674 | 6 SHORT_DESC="GStreamer Base Plugins" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@2861 | 8 DEPENDS="libxml2 alsa-lib cdparanoia-III libvorbis libtheora gstreamer liboil \ |
pascal@2861 | 9 libtheora-enc fontconfig libgio pango xorg-libICE xorg-libSM xorg-libXau \ |
slaxemulator@6762 | 10 xorg-libXdmcp xorg-libXext xorg-libXv freetype" |
slaxemulator@6771 | 11 BUILD_DEPENDS="pkg-config glib-dev alsa-lib-dev liboil liboil-dev gstreamer gstreamer-dev libtheora-enc libtheora-dev libvorbis-dev cdparanoia-III cdparanoia-III-dev libxml2-dev libogg-dev libgio-dev freetype-dev fontconfig-dev pango-dev xorg-libSM-dev xorg-libXau-dev xorg-libICE-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXv xorg-libXv-dev xorg-dev-proto util-linux-ng-uuid-dev gobject-introspection-dev" |
slaxemulator@6762 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2674 | 13 WEB_SITE="http://gstreamer.freedesktop.org/" |
slaxemulator@6762 | 14 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
jozee@2674 | 15 |
jozee@2674 | 16 # Rules to configure and make the package. |
jozee@2674 | 17 compile_rules() |
jozee@2674 | 18 { |
jozee@2674 | 19 cd $src |
jozee@2674 | 20 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ |
jozee@2674 | 21 --enable-experimental && |
pascal@5784 | 22 make -j 4 && |
slaxemulator@6762 | 23 sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile && |
jozee@2674 | 24 make DESTDIR=$PWD/_pkg install |
jozee@2674 | 25 mkdir -p $PWD/_pkg/usr/bin/ |
jozee@2674 | 26 } |
jozee@2674 | 27 |
jozee@2674 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 29 genpkg_rules() |
jozee@2674 | 30 { |
jozee@2674 | 31 mkdir -p $fs/usr/lib |
jozee@2674 | 32 cp -a $_pkg/usr/bin $fs/usr |
jozee@2674 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@2674 | 34 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib |
slaxemulator@6954 | 35 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib |
jozee@2674 | 36 rm $fs/usr/lib/gstreamer*/*.*a |
jozee@2674 | 37 |
jozee@2674 | 38 } |