wok-6.x view emotion/receipt @ rev 17104

Add libsdl2 (thanks necrophcodr)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 30 14:16:28 2014 +0000 (2014-08-30)
parents 1204cf352c74
children 86790a278e70
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="eet evas ecore edje eio eeze embryo xine-lib lua"
16 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev eio-dev \
17 eeze-dev xine-lib-dev lua-dev"
18 OPTIONAL_DEPENDS="gstreamer-dev gst-plugins-base-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 export CFLAGS="$CFLAGS -fvisibility=hidden"
24 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
25 ./configure \
26 --disable-doc \
27 --enable-emotion-test \
28 --enable-xine \
29 $CONFIGURE_ARGS &&
30 make $MAKEFILE && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 case "$ARCH" in
37 i?86) edje_mods="/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0" ;;
38 arm) edje_mods="/usr/lib/edje/modules/emotion/linux-gnueabi-arm-1.0.0" ;;
39 esac
40 mkdir -p $fs/usr/lib/emotion ${fs}${edje_mods}
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/share $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/emotion/*.so $fs/usr/lib/emotion
45 cp -a ${install}${edje_mods}/*.so ${fs}${edje_mods}
46 }