wok diff emotion-dev/receipt @ rev 18636

Up slitaz-boot-scripts(416)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 27 12:55:26 2015 +0200 (2015-11-27)
parents 8ed62ecac0c7
children 86790a278e70
line diff
     1.1 --- a/emotion-dev/receipt	Thu Dec 05 11:43:50 2013 +0000
     1.2 +++ b/emotion-dev/receipt	Fri Nov 27 12:55:26 2015 +0200
     1.3 @@ -1,13 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="emotion-dev"
     1.7 -VERSION="1.7.9"
     1.8 +VERSION="1.7.10"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="EFL video and audio codec playback library - Devel files."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="BSD"
    1.13  WANTED="emotion"
    1.14  WEB_SITE="http://www.enlightenment.org/"
    1.15 +HOST_ARCH="i486 arm"
    1.16  
    1.17  DEPENDS="edje-dev eio-dev eeze-dev xine-lib-dev pkg-config"
    1.18  OPTIONAL_DEPENDS="gstreamer-dev gst-plugins-base-dev"
    1.19 @@ -15,12 +16,14 @@
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	mkdir -p $fs/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0 \
    1.24 -		$fs/usr/lib/emotion
    1.25 +	case "$ARCH" in
    1.26 +		i?86) edje_mods="/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0" ;;
    1.27 +		arm) edje_mods="/usr/lib/edje/modules/emotion/linux-gnueabi-arm-1.0.0" ;;
    1.28 +	esac
    1.29 +	mkdir -p $fs/usr/lib/emotion ${fs}${edje_mods}
    1.30  	cp -a $install/usr/include $fs/usr
    1.31  	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.32  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.33  	cp -a $install/usr/lib/emotion/*.*a $fs/usr/lib/emotion
    1.34 -	cp -a $install/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0/*.*a \
    1.35 -		$fs/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0
    1.36 +	cp -a ${install}${edje_mods}/*.*a ${fs}${edje_mods}
    1.37  }