wok-current diff elementary/receipt @ rev 14454

Up; nconf (1.3.0-0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Apr 27 02:48:04 2013 +0200 (2013-04-27)
parents 0941341ce316
children 77134b1c6b17
line diff
     1.1 --- a/elementary/receipt	Fri Apr 12 19:17:52 2013 +0200
     1.2 +++ b/elementary/receipt	Sat Apr 27 02:48:04 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  }