wok-next annotate emotion/receipt @ rev 15860
libmowgli: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 30 09:02:32 2014 +0000 (2014-01-30) |
parents | d3e76f1e0aee |
children | 689fcc83daec |
rev | line source |
---|---|
pankso@264 | 1 # SliTaz package receipt. |
pankso@264 | 2 |
pankso@264 | 3 PACKAGE="emotion" |
domcox@15453 | 4 VERSION="1.7.9" |
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@9791 | 13 |
domcox@14677 | 14 DEPENDS="edje eio eeze xine-lib" |
domcox@14677 | 15 BUILD_DEPENDS="edje-dev eio-dev eeze-dev |
domcox@14677 | 16 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 { |
domcox@14306 | 22 CFLAGS="$CFLAGS -fvisibility=hidden" |
domcox@14306 | 23 LDFLAGS="$LDFLAGS -fvisibility=hidden" |
domcox@14306 | 24 export LDFLAGS |
domcox@14677 | 25 |
pankso@13643 | 26 ./configure \ |
domcox@14677 | 27 --disable-doc \ |
domcox@14677 | 28 --enable-emotion-test \ |
pankso@2917 | 29 $CONFIGURE_ARGS && |
domcox@14677 | 30 make $MAKEFILE && make install |
pankso@264 | 31 } |
pankso@264 | 32 |
pankso@264 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@264 | 34 genpkg_rules() |
pankso@264 | 35 { |
pankso@13643 | 36 mkdir -p $fs/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0 \ |
pankso@13643 | 37 $fs/usr/lib/emotion |
domcox@14677 | 38 cp -a $install/usr/bin $fs/usr |
pankso@13643 | 39 cp -a $install/usr/share $fs/usr |
pankso@13643 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@13643 | 41 cp -a $install/usr/lib/emotion/*.so $fs/usr/lib/emotion |
pankso@13643 | 42 cp -a $install/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0/*.so \ |
gokhlayeh@8594 | 43 $fs/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0 |
pankso@264 | 44 } |