wok-next view emotion/receipt @ rev 15168
nethack: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 23:11:23 2013 +0000 (2013-08-15) |
parents | cbac9bfae97c |
children | f8fa8b0ae68c |
line source
1 # SliTaz package receipt.
3 PACKAGE="emotion"
4 VERSION="1.7.8"
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"
14 DEPENDS="edje eio eeze xine-lib"
15 BUILD_DEPENDS="edje-dev eio-dev eeze-dev
16 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 CFLAGS="$CFLAGS -fvisibility=hidden"
23 LDFLAGS="$LDFLAGS -fvisibility=hidden"
24 export LDFLAGS
26 ./configure \
27 --disable-doc \
28 --enable-emotion-test \
29 $CONFIGURE_ARGS &&
30 make $MAKEFILE && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0 \
37 $fs/usr/lib/emotion
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/emotion/*.so $fs/usr/lib/emotion
42 cp -a $install/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0/*.so \
43 $fs/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0
44 }