wok view emotion/receipt @ rev 16141

ARM: add enlightenment
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 26 09:44:30 2014 +0100 (2014-03-26)
parents f8fa8b0ae68c
children 1204cf352c74
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 # Handle cross compilation
20 case "$ARCH" in
21 arm) BUILD_DEPENDS="edje-dev eio-dev eeze-dev" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export CFLAGS="$CFLAGS -fvisibility=hidden"
28 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
29 ./configure \
30 --disable-doc \
31 --enable-emotion-test \
32 $CONFIGURE_ARGS &&
33 make $MAKEFILE && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 case "$ARCH" in
40 i?86) edje_mods="/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0" ;;
41 arm) edje_mods="/usr/lib/edje/modules/emotion/linux-gnueabi-arm-1.0.0" ;;
42 esac
43 mkdir -p $fs/usr/lib/emotion ${fs}${edje_mods}
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/share $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/lib/emotion/*.so $fs/usr/lib/emotion
48 cp -a ${install}${edje_mods}/*.so ${fs}${edje_mods}
49 }