wok rev 14422

elementary: update deps+bdeps
author Dominique Corbex <domcox@slitaz.org>
date Tue Apr 23 21:23:27 2013 +0200 (2013-04-23)
parents be9f29f52a5b
children 0f2b45b3e32e
files elementary/receipt
line diff
     1.1 --- a/elementary/receipt	Tue Apr 23 20:09:35 2013 +0200
     1.2 +++ b/elementary/receipt	Tue Apr 23 21:23:27 2013 +0200
     1.3 @@ -8,13 +8,10 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://www.enlightenment.org/"
     1.6  WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
     1.7 -TAGS="e17"
     1.8 +TAGS="e enlightenment efl"
     1.9  
    1.10 -DEPENDS="eina eet evas ecore edje efreet libelementary edbus eio emotion \
    1.11 -ethumb embryo libxml2"
    1.12 -BUILD_DEPENDS="eina-dev eet-dev evas-dev ecore-dev edje-dev efreet-dev \
    1.13 -expat-dev jpeg-dev glib-dev libpng-dev edbus-dev eio-dev emotion-dev \
    1.14 -ethumb-dev embryo-dev lua5.1-dev libxml2-dev"
    1.15 +DEPENDS="efreet emotion ethumb libelementary"
    1.16 +BUILD_DEPENDS="efreet-dev emotion-dev ethumb-dev"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20 @@ -23,6 +20,7 @@
    1.21  	LDFLAGS="$LDFLAGS -fvisibility=hidden"
    1.22  	export LDFLAGS
    1.23  	./configure \
    1.24 +	--datadir=/usr/share2 \
    1.25  		$CONFIGURE_ARGS &&
    1.26  	make && make install
    1.27  }
    1.28 @@ -30,14 +28,16 @@
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32 -	mkdir -p $fs/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0
    1.33 -	cp -a $install/usr/bin $fs/usr
    1.34 -	cp -a $install/usr/share $fs/usr
    1.35 +	# lib
    1.36 +	mkdir -p $fs/usr/lib
    1.37 +	cp -a $install/usr/lib/edje	$fs/usr/lib
    1.38 +	cp -a $install/usr/lib/elementary $fs/usr/lib
    1.39 +	rm -f $fs/usr/lib/*/modules/*/*/*.la
    1.40  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.41 -	cp -a $install/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0/module.so \
    1.42 -		$fs/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0
    1.43 -	cp -a $install/usr/lib/elementary $fs/usr/lib
    1.44 -	rm -f $fs/usr/lib/elementary/modules/*/*/*.la
    1.45  	# Package: libelementary
    1.46  	rm -f $fs/usr/lib/libelementary.so.*
    1.47 +	# share
    1.48 +	# /usr/share2: to not automatically install /usr/share/applications
    1.49 +	mkdir -p $fs/usr/share
    1.50 +	cp -a $install/usr/share2/elementary $fs/usr/share
    1.51  }