wok annotate enlightenment/receipt @ rev 10370
xorg-libXinerama: fix again
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 03:44:45 2011 +0200 (2011-05-23) |
parents | 85cd798d6997 |
children | 7c1336407e9f |
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@140 | 12 |
slaxemulator@10320 | 13 DEPENDS="alsa-lib edbus edje efreet" |
slaxemulator@10320 | 14 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev efreet-dev \ |
slaxemulator@10320 | 15 efreet edbus-dev edbus curl-dev libcrypto-dev openssl-dev fribidi-dev \ |
slaxemulator@10320 | 16 xorg-libXp-dev" |
slaxemulator@10320 | 17 |
pankso@140 | 18 # Rules to configure and make the package. |
pankso@140 | 19 compile_rules() |
pankso@140 | 20 { |
pankso@140 | 21 cd $src |
gokhlayeh@8505 | 22 |
slaxemulator@10320 | 23 ./configure $CONFIGURE_ARGS && |
slaxemulator@10320 | 24 make && make install |
pankso@140 | 25 } |
pankso@140 | 26 |
pankso@140 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@140 | 28 genpkg_rules() |
pankso@140 | 29 { |
pankso@196 | 30 mkdir -p $fs/usr/share |
pankso@165 | 31 # Use a modified sysactions.conf |
pankso@165 | 32 cp -a stuff/etc $fs |
pankso@843 | 33 |
pankso@140 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@140 | 35 cp -a $_pkg/usr/lib $fs/usr |
pankso@140 | 36 cp -a $_pkg/usr/share/enlightenment $fs/usr/share |
pankso@843 | 37 |
pankso@196 | 38 # Remove devel files *.a/*.la |
pankso@140 | 39 rm -rf $fs/usr/lib/$PACKAGE/preload/*.*a |
pankso@2917 | 40 rm -rf $fs/usr/lib/$PACKAGE/modules/*/*/*.*a |
pankso@843 | 41 |
pankso@140 | 42 # Rm backgrouds (1,6 Mb). |
pankso@140 | 43 rm -rf $fs/usr/share/enlightenment/data/backgrounds/* |
pankso@140 | 44 } |
pankso@140 | 45 |
pankso@2917 | 46 post_install() |
pankso@2917 | 47 { |
pankso@2917 | 48 res=`cat $1/etc/slim.conf | grep ^session | sed s/"sessions. *"//` |
pankso@2917 | 49 # Adding WM to SLIM available sessions. |
pankso@2917 | 50 if ! echo "$res" | grep -q e17; then |
pankso@2917 | 51 echo -n "Adding e17 to /etc/slim.conf..." |
pankso@2917 | 52 sed -i "s/^sessions.*/sessions ${res},e17/" /etc/slim.conf |
pankso@2917 | 53 status |
pankso@2917 | 54 fi |
pankso@2917 | 55 } |
pankso@2917 | 56 |
pankso@2917 | 57 post_remove() |
pankso@2917 | 58 { |
pankso@2917 | 59 # Remove WM from SLIM available sessions. |
pankso@2917 | 60 if grep -q e17 $1/etc/slim.conf; then |
pankso@2917 | 61 sed -i s/,e17// $1/etc/slim.conf |
pankso@2917 | 62 fi |
pankso@2917 | 63 } |