wok-current view enlightenment/receipt @ rev 10361

gtk+: make it build so we can follow with all gtk apps on Tank (no cross)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 01:01:19 2011 +0200 (2011-05-23)
parents 85cd798d6997
children 7c1336407e9f
line source
1 # SliTaz package receipt.
3 PACKAGE="enlightenment"
4 VERSION="0.16.999.55225"
5 CATEGORY="x-window"
6 SHORT_DESC="Enlightenment window manager (E17)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.enlightenment.org/"
10 WGET_URL="http://download.enlightenment.org/snapshots/2010-12-03/$TARBALL"
11 TAGS="wm window-manager"
13 DEPENDS="alsa-lib edbus edje efreet"
14 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev efreet-dev \
15 efreet edbus-dev edbus curl-dev libcrypto-dev openssl-dev fribidi-dev \
16 xorg-libXp-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
23 ./configure $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 # Use a modified sysactions.conf
32 cp -a stuff/etc $fs
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib $fs/usr
36 cp -a $_pkg/usr/share/enlightenment $fs/usr/share
38 # Remove devel files *.a/*.la
39 rm -rf $fs/usr/lib/$PACKAGE/preload/*.*a
40 rm -rf $fs/usr/lib/$PACKAGE/modules/*/*/*.*a
42 # Rm backgrouds (1,6 Mb).
43 rm -rf $fs/usr/share/enlightenment/data/backgrounds/*
44 }
46 post_install()
47 {
48 res=`cat $1/etc/slim.conf | grep ^session | sed s/"sessions. *"//`
49 # Adding WM to SLIM available sessions.
50 if ! echo "$res" | grep -q e17; then
51 echo -n "Adding e17 to /etc/slim.conf..."
52 sed -i "s/^sessions.*/sessions ${res},e17/" /etc/slim.conf
53 status
54 fi
55 }
57 post_remove()
58 {
59 # Remove WM from SLIM available sessions.
60 if grep -q e17 $1/etc/slim.conf; then
61 sed -i s/,e17// $1/etc/slim.conf
62 fi
63 }