wok view gstreamer-dev/receipt @ rev 18507

mozo: update compile rules
author Yuri Pourre <yuripourre@gmail.com>
date Sat Oct 17 13:39:12 2015 -0300 (2015-10-17)
parents 8ed62ecac0c7
children fc9203de5ff2
line source
1 # SliTaz package receipt.
3 PACKAGE="gstreamer-dev"
4 VERSION="0.10.36"
5 SERIES="0.10"
6 CATEGORY="development"
7 SHORT_DESC="gstreamer devel files"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="LGPL2"
10 WANTED="gstreamer"
11 WEB_SITE="http://gstreamer.freedesktop.org/"
12 HOST_ARCH="i486 arm"
14 DEPENDS="gstreamer glib-dev libgio-dev libxml2-dev"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share
20 cp -a $install/usr/include $fs/usr
21 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
22 cp -a $install/usr/lib/*.*a $fs/usr/lib/
23 cp -a $install/usr/lib/gstreamer-$SERIES/*.*a \
24 $fs/usr/lib/gstreamer-$SERIES
25 [ -d "$install/usr/lib/girepository-1.0" ] && \
26 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
27 [ -d "$install/usr/share/gir-1.0" ] && \
28 cp -a $install/usr/share/gir-1.0 $fs/usr/share
29 cp -a $install/usr/share/aclocal $fs/usr/share
30 cd $fs/usr/include
31 ln -s gstreamer-$SERIES/gst gst
32 }