wok view emotion/receipt @ rev 16164

wayland: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 29 08:28:10 2014 +0000 (2014-03-29)
parents 689fcc83daec
children 6ebbb23fa7c2
line source
1 # SliTaz package receipt.
3 PACKAGE="emotion"
4 VERSION="1.7.10"
5 CATEGORY="x-window"
6 SHORT_DESC="EFL video and audio codec playback library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.enlightenment.org/"
11 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
12 TAGS="e enlightenment efl"
13 HOST_ARCH="i486 arm"
15 DEPENDS="edje eio eeze xine-lib"
16 BUILD_DEPENDS="edje-dev eio-dev eeze-dev xine-lib-dev"
17 OPTIONAL_DEPENDS="gstreamer-dev gst-plugins-base-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export CFLAGS="$CFLAGS -fvisibility=hidden"
23 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
24 ./configure \
25 --disable-doc \
26 --enable-emotion-test \
27 --enable-xine \
28 $CONFIGURE_ARGS &&
29 make $MAKEFILE && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 case "$ARCH" in
36 i?86) edje_mods="/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0" ;;
37 arm) edje_mods="/usr/lib/edje/modules/emotion/linux-gnueabi-arm-1.0.0" ;;
38 esac
39 mkdir -p $fs/usr/lib/emotion ${fs}${edje_mods}
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/emotion/*.so $fs/usr/lib/emotion
44 cp -a ${install}${edje_mods}/*.so ${fs}${edje_mods}
45 }