wok annotate gstreamer-dev/receipt @ rev 19774

some *-dev depend on pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 15:50:51 2017 +0100 (2017-02-21)
parents ac2ee8823dfa
children a78610b2eb47
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
pascal@19774 14 DEPENDS="gstreamer pkg-config 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 }