wok annotate emotion/receipt @ rev 16165

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