# SliTaz package receipt. PACKAGE="emotion" VERSION="1.7.10" CATEGORY="x-window" SHORT_DESC="EFL video and audio codec playback library." MAINTAINER="pankso@slitaz.org" LICENSE="BSD" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://www.enlightenment.org/" WGET_URL="https://download.enlightenment.org/__old/att/releases/$TARBALL" TAGS="e enlightenment efl" HOST_ARCH="i486 arm" DEPENDS="eet evas ecore edje eio eeze embryo xine-lib lua" BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev eio-dev \ eeze-dev xine-lib-dev lua-dev" OPTIONAL_DEPENDS="gstreamer-dev gst-plugins-base-dev" # What is the latest version available today? current_version() { wget -O - http://download.enlightenment.org/rel/libs/emotion_generic_players/ 2>/dev/null | \ sed '/emotion_generic_players-[0-9]/!d;/a[0-9].tar/d;s|.*players-||;s|.tar.*||' | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { export CFLAGS="$CFLAGS -fvisibility=hidden" export LDFLAGS="$LDFLAGS -fvisibility=hidden" ./configure \ --disable-doc \ --enable-emotion-test \ --enable-xine \ $CONFIGURE_ARGS && make $MAKEFILE && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { case "$ARCH" in i?86) edje_mods="/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0" ;; arm) edje_mods="/usr/lib/edje/modules/emotion/linux-gnueabi-arm-1.0.0" ;; esac mkdir -p $fs/usr/lib/emotion ${fs}${edje_mods} cp -a $install/usr/bin $fs/usr cp -a $install/usr/share $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/lib/emotion/*.so $fs/usr/lib/emotion cp -a ${install}${edje_mods}/*.so ${fs}${edje_mods} }