wok-6.x annotate gstreamer-dev/receipt @ rev 17552

Update some post_install for install --root
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 30 10:17:37 2015 +0100 (2015-01-30)
parents 8ed62ecac0c7
children fc9203de5ff2
rev   line source
jozee@2674 1 # SliTaz package receipt.
jozee@2674 2
jozee@2674 3 PACKAGE="gstreamer-dev"
domcox@14016 4 VERSION="0.10.36"
domcox@14016 5 SERIES="0.10"
jozee@2674 6 CATEGORY="development"
jozee@2674 7 SHORT_DESC="gstreamer devel files"
jozee@2674 8 MAINTAINER="jozee@slitaz.org"
pascal@15004 9 LICENSE="LGPL2"
jozee@2674 10 WANTED="gstreamer"
jozee@2674 11 WEB_SITE="http://gstreamer.freedesktop.org/"
pankso@16236 12 HOST_ARCH="i486 arm"
jozee@2674 13
pankso@16236 14 DEPENDS="gstreamer glib-dev libgio-dev libxml2-dev"
domcox@14474 15
jozee@2674 16 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 17 genpkg_rules()
jozee@2674 18 {
domcox@14016 19 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share
pascal@14033 20 cp -a $install/usr/include $fs/usr
pascal@14033 21 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pascal@14033 22 cp -a $install/usr/lib/*.*a $fs/usr/lib/
pankso@16236 23 cp -a $install/usr/lib/gstreamer-$SERIES/*.*a \
pankso@16236 24 $fs/usr/lib/gstreamer-$SERIES
pankso@16236 25 [ -d "$install/usr/lib/girepository-1.0" ] && \
pankso@16236 26 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
pankso@16236 27 [ -d "$install/usr/share/gir-1.0" ] && \
pankso@16236 28 cp -a $install/usr/share/gir-1.0 $fs/usr/share
pascal@14033 29 cp -a $install/usr/share/aclocal $fs/usr/share
devl547@5547 30 cd $fs/usr/include
domcox@14016 31 ln -s gstreamer-$SERIES/gst gst
jozee@2674 32 }