wok annotate gstreamer-1.0/receipt @ rev 19401
memtest: DOS shutdown (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 13:03:50 2016 +0200 (2016-09-03) |
parents | c9e627fb5d1e |
children | b30300e0cb6a |
rev | line source |
---|---|
pankso@16446 | 1 # SliTaz package receipt. |
pankso@16446 | 2 |
pankso@16446 | 3 PACKAGE="gstreamer-1.0" |
pankso@16446 | 4 VERSION="1.2.3" |
pankso@16446 | 5 SERIES="1.0" |
pankso@16446 | 6 CATEGORY="multimedia" |
pankso@16446 | 7 SHORT_DESC="GStreamer Multimedia Framework" |
pankso@16465 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@16446 | 9 LICENSE="LGPL2" |
pankso@16446 | 10 SOURCE="gstreamer" |
pankso@16446 | 11 TARBALL="$SOURCE-$VERSION.tar.xz" |
pankso@16446 | 12 WEB_SITE="http://gstreamer.freedesktop.org/" |
pankso@16446 | 13 WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL" |
pankso@16465 | 14 HOST_ARCH="i486 arm" |
pankso@16446 | 15 |
pankso@16446 | 16 DEPENDS="glib libgio libxml2" |
pankso@16465 | 17 BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config" |
pankso@16465 | 18 |
pankso@16465 | 19 # Handle cross compilation |
pankso@16465 | 20 case "$ARCH" in |
pascal@16471 | 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS python-dev valgrind bison flex" ;; |
pankso@16465 | 22 esac |
pankso@16446 | 23 |
pankso@16446 | 24 # Rules to configure and make the package. |
pankso@16446 | 25 compile_rules() |
pankso@16446 | 26 { |
pankso@16446 | 27 ./configure \ |
pankso@16446 | 28 --sysconfdir=/etc \ |
pankso@16446 | 29 --localstatedir=/var \ |
pankso@16446 | 30 --libexecdir=/usr/lib \ |
pankso@16446 | 31 --enable-silent-rules \ |
pankso@16446 | 32 --disable-static \ |
pankso@16446 | 33 --disable-examples \ |
pankso@16446 | 34 --disable-debug \ |
pankso@16446 | 35 --enable-introspection=no \ |
pankso@16446 | 36 --with-package-name="GStreamer ($SERIES)" \ |
pankso@16446 | 37 --with-package-origin="http://www.slitaz.org/" \ |
pankso@16446 | 38 $CONFIGURE_ARGS && |
pankso@16446 | 39 make $MAKEFLAGS && make install |
pankso@16446 | 40 } |
pankso@16446 | 41 |
pankso@16446 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16446 | 43 genpkg_rules() |
pankso@16446 | 44 { |
pankso@16446 | 45 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale |
pankso@16446 | 46 mv $install/usr/bin/*-$SERIES $fs/usr/bin |
pankso@16446 | 47 mv $install/usr/lib/*.so* $fs/usr/lib |
pankso@16446 | 48 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES |
pankso@16446 | 49 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES |
pankso@16446 | 50 for locale in $LOCALES; do |
pankso@16446 | 51 mv $install/usr/share/locale/$locale $fs/usr/share/locale |
pankso@16446 | 52 done |
pankso@16446 | 53 } |