wok annotate gst-plugins-good-1.0/receipt @ rev 19787
cookutils: add configs_files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 22 15:11:33 2017 +0100 (2017-02-22) |
parents | |
children | a78610b2eb47 |
rev | line source |
---|---|
psychomaniak@19519 | 1 # SliTaz package receipt. |
psychomaniak@19519 | 2 |
psychomaniak@19519 | 3 PACKAGE="gst-plugins-good-1.0" |
psychomaniak@19519 | 4 VERSION="1.10.1" |
psychomaniak@19519 | 5 SERIES="1.0" |
psychomaniak@19519 | 6 CATEGORY="multimedia" |
psychomaniak@19519 | 7 SHORT_DESC="GStreamer Base Plugins" |
psychomaniak@19519 | 8 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@19519 | 9 LICENSE="GPL2" |
psychomaniak@19519 | 10 SOURCE="gst-plugins-good" |
psychomaniak@19519 | 11 TARBALL="$SOURCE-$VERSION.tar.xz" |
psychomaniak@19519 | 12 WEB_SITE="http://gstreamer.freedesktop.org/" |
psychomaniak@19519 | 13 WGET_URL="${WEB_SITE}src/$SOURCE/$TARBALL" |
psychomaniak@19519 | 14 |
psychomaniak@19519 | 15 DEPENDS="gstreamer-1.0 pango alsa-lib mpg123 jpeg" |
psychomaniak@19519 | 16 BUILD_DEPENDS="gstreamer-1.0-dev gst-plugins-base-1.0-dev mpg123-dev jpeg-dev" |
psychomaniak@19519 | 17 |
psychomaniak@19519 | 18 # Rules to configure and make the package. |
psychomaniak@19519 | 19 compile_rules() |
psychomaniak@19519 | 20 { |
psychomaniak@19519 | 21 sed '/set ERROR_C/d' -i configure |
psychomaniak@19519 | 22 sed '/set ERROR_OBJC/d' -i configure |
psychomaniak@19519 | 23 ./configure \ |
psychomaniak@19519 | 24 --prefix=/usr --sysconfdir=/etc \ |
psychomaniak@19519 | 25 --localstatedir=/var --enable-experimental \ |
psychomaniak@19519 | 26 --disable-static --disable-debug \ |
psychomaniak@19519 | 27 --disable-libvisual --enable-introspection=no \ |
psychomaniak@19519 | 28 --with-package-name="GStreamer Base Plugins ($SERIES)" \ |
psychomaniak@19519 | 29 --with-package-origin="http://www.slitaz.org/" \ |
psychomaniak@19519 | 30 $CONFIGURE_ARGS | grep -v 'No package' && |
psychomaniak@19519 | 31 make $MAKEFLAGS && make install 2>/dev/null |
psychomaniak@19519 | 32 } |
psychomaniak@19519 | 33 |
psychomaniak@19519 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@19519 | 35 genpkg_rules() |
psychomaniak@19519 | 36 { |
psychomaniak@19519 | 37 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale |
psychomaniak@19519 | 38 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES |
psychomaniak@19519 | 39 } |