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

vim*: unblock post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 26 17:48:34 2013 +0200 (2013-05-26)
parents 16faa1f83ea9
children 8a8fa8de9fb1
line source
1 # SliTaz package receipt.
3 PACKAGE="emotion"
4 VERSION="1.7.6"
5 CATEGORY="x-window"
6 SHORT_DESC="E17 Emotion is a video (and audio) codec playback library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.enlightenment.org/"
10 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
11 TAGS="e enlightenment efl"
13 DEPENDS="edje eio xine-lib"
14 BUILD_DEPENDS="edje-dev eio-dev xine-lib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 CFLAGS="$CFLAGS -fvisibility=hidden"
20 LDFLAGS="$LDFLAGS -fvisibility=hidden"
21 export LDFLAGS
22 sed -i 's|.*driver_class.get_.*|//&|' src/modules/xine/emotion_xine_vo_out.c
23 ./configure \
24 --disable-gstreamer \
25 --disable-emotion-test \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0 \
34 $fs/usr/lib/emotion
35 cp -a $install/usr/share $fs/usr
36 # cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/emotion/*.so $fs/usr/lib/emotion
39 cp -a $install/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0/*.so \
40 $fs/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0
41 }