wok-current annotate enlightenment/receipt @ rev 10624
enlightenment: make sure we dont use connman and bluez
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 21:27:42 2011 +0200 (2011-05-26) |
parents | fe57bf03de94 |
children | 9ede97e4f5be |
rev | line source |
---|---|
pankso@140 | 1 # SliTaz package receipt. |
pankso@140 | 2 |
pankso@140 | 3 PACKAGE="enlightenment" |
gokhlayeh@8505 | 4 VERSION="0.16.999.55225" |
pankso@196 | 5 CATEGORY="x-window" |
mallory@1406 | 6 SHORT_DESC="Enlightenment window manager (E17)." |
pankso@140 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@140 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@140 | 9 WEB_SITE="http://www.enlightenment.org/" |
gokhlayeh@8505 | 10 WGET_URL="http://download.enlightenment.org/snapshots/2010-12-03/$TARBALL" |
jozee@4935 | 11 TAGS="wm window-manager" |
pankso@10621 | 12 TAGS="e17" |
pankso@140 | 13 |
pankso@10621 | 14 DEPENDS="eina eet ecore evas edje efreet edbus alsa-lib" |
pankso@10621 | 15 BUILD_DEPENDS="eina-dev eet-dev ecore-dev evas-dev edje-dev efreet-dev |
pankso@10621 | 16 edbus-dev alsa-lib-dev" |
slaxemulator@10320 | 17 |
pankso@140 | 18 # Rules to configure and make the package. |
pankso@140 | 19 compile_rules() |
pankso@140 | 20 { |
pankso@10624 | 21 ./configure \ |
pankso@10624 | 22 --disable-connman \ |
pankso@10624 | 23 --disable-bluez \ |
pankso@10624 | 24 $CONFIGURE_ARGS && |
pankso@10624 | 25 make && make install |
pankso@140 | 26 } |
pankso@140 | 27 |
pankso@140 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@140 | 29 genpkg_rules() |
pankso@140 | 30 { |
pankso@196 | 31 mkdir -p $fs/usr/share |
pankso@165 | 32 # Use a modified sysactions.conf |
pankso@10529 | 33 cp -a $stuff/etc $fs |
pankso@843 | 34 |
pankso@140 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@140 | 36 cp -a $_pkg/usr/lib $fs/usr |
pankso@140 | 37 cp -a $_pkg/usr/share/enlightenment $fs/usr/share |
pankso@843 | 38 |
pankso@196 | 39 # Remove devel files *.a/*.la |
pankso@140 | 40 rm -rf $fs/usr/lib/$PACKAGE/preload/*.*a |
pankso@2917 | 41 rm -rf $fs/usr/lib/$PACKAGE/modules/*/*/*.*a |
pankso@843 | 42 |
pankso@140 | 43 # Rm backgrouds (1,6 Mb). |
pankso@140 | 44 rm -rf $fs/usr/share/enlightenment/data/backgrounds/* |
pankso@140 | 45 } |
pankso@140 | 46 |
pankso@2917 | 47 post_install() |
pankso@2917 | 48 { |
pankso@2917 | 49 res=`cat $1/etc/slim.conf | grep ^session | sed s/"sessions. *"//` |
pankso@2917 | 50 # Adding WM to SLIM available sessions. |
pankso@2917 | 51 if ! echo "$res" | grep -q e17; then |
pankso@2917 | 52 echo -n "Adding e17 to /etc/slim.conf..." |
pankso@2917 | 53 sed -i "s/^sessions.*/sessions ${res},e17/" /etc/slim.conf |
pankso@2917 | 54 status |
pankso@2917 | 55 fi |
pankso@2917 | 56 } |
pankso@2917 | 57 |
pankso@2917 | 58 post_remove() |
pankso@2917 | 59 { |
pankso@2917 | 60 # Remove WM from SLIM available sessions. |
pankso@2917 | 61 if grep -q e17 $1/etc/slim.conf; then |
pankso@2917 | 62 sed -i s/,e17// $1/etc/slim.conf |
pankso@2917 | 63 fi |
pankso@2917 | 64 } |