wok-next annotate gstreamer0/receipt @ rev 20486
outguess: fix install path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 10:46:52 2018 +0100 (2018-03-12) |
parents | 2c826709e122 |
children | 757d032c55c7 |
rev | line source |
---|---|
al@19816 | 1 # SliTaz package receipt v2. |
al@19816 | 2 |
al@19816 | 3 PACKAGE="gstreamer0" |
al@19816 | 4 VERSION="0.10.36" |
al@19816 | 5 CATEGORY="multimedia" |
al@19822 | 6 SHORT_DESC="GStreamer-0.10 Multimedia Framework" |
al@19816 | 7 MAINTAINER="jozee@slitaz.org" |
al@19816 | 8 LICENSE="LGPL2" |
al@19816 | 9 WEB_SITE="http://gstreamer.freedesktop.org/" |
al@19816 | 10 |
al@19816 | 11 TARBALL="gstreamer-$VERSION.tar.xz" |
al@19816 | 12 WGET_URL="https://gstreamer.freedesktop.org/src/gstreamer/$TARBALL" |
al@19816 | 13 |
al@19816 | 14 BUILD_DEPENDS_arm="glib-dev libxml2-dev" |
al@19816 | 15 BUILD_DEPENDS="glib-dev libxml2-dev gobject-introspection-dev python-dev bison \ |
al@19816 | 16 flex m4 valgrind gettext" |
al@19816 | 17 SPLIT="gstreamer0-dev" |
al@19816 | 18 |
al@19816 | 19 # Rules to configure and make the package. |
al@19816 | 20 compile_rules() |
al@19816 | 21 { |
al@19816 | 22 # Handle cross compilation |
al@19816 | 23 case "$ARCH" in |
al@19816 | 24 i?86) origin="http://www.slitaz.org";; |
al@19816 | 25 arm*) origin="http://arm.slitaz.org";; |
al@19816 | 26 esac |
al@19816 | 27 |
al@19816 | 28 ./configure \ |
al@19816 | 29 --sysconfdir=/etc \ |
al@19816 | 30 --localstatedir=/var \ |
al@19816 | 31 --libexecdir=/usr/lib \ |
al@19816 | 32 --enable-silent-rules \ |
al@19816 | 33 --disable-static \ |
al@19816 | 34 --disable-examples \ |
al@19816 | 35 --disable-debug \ |
al@19822 | 36 --with-package-name="GStreamer-0.10" \ |
al@19816 | 37 --with-package-origin="$origin" \ |
al@19816 | 38 $CONFIGURE_ARGS && |
al@19816 | 39 make $MAKEFLAGS && make install |
al@19816 | 40 } |
al@19816 | 41 |
al@19816 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19816 | 43 genpkg_rules() |
al@19816 | 44 { |
al@19816 | 45 case $PACKAGE in |
al@19816 | 46 gstreamer0) |
al@19816 | 47 copy @std |
al@19822 | 48 DEPENDS="glib libffi libxml2 pcre" |
al@19816 | 49 ;; |
al@19816 | 50 *-dev) |
al@19816 | 51 copy @dev |
al@19822 | 52 DEPENDS="gstreamer0 glib-dev libffi-dev libxml2-dev pcre-dev \ |
al@19822 | 53 xz-dev zlib-dev" |
al@19816 | 54 ;; |
al@19816 | 55 esac |
al@19816 | 56 } |