wok-next view enlightenment/receipt @ rev 8294
Up: vlc to 1.1.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 31 18:17:19 2011 +0000 (2011-01-31) |
parents | b29c8c2da6bb |
children | 85cd798d6997 |
line source
1 # SliTaz package receipt.
3 PACKAGE="enlightenment"
4 VERSION="0.16.999.063"
5 CATEGORY="x-window"
6 SHORT_DESC="Enlightenment window manager (E17)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="eet evas ecore embryo edje efreet edbus slitaz-menus curl \
9 xorg-libXcomposite libcrypto openssl alsa-lib xorg-libX11 xorg-libXau \
10 xorg-libXdmcp xorg-libXext fribidi xorg-libXp xorg-libXss libtasn1"
11 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev efreet-dev \
12 efreet edbus-dev edbus curl-dev libcrypto-dev openssl-dev fribidi-dev \
13 xorg-libXp-dev"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WEB_SITE="http://www.enlightenment.org/"
16 WGET_URL="http://download.enlightenment.org/snapshots/2009-12-02/$TARBALL"
17 TAGS="wm window-manager"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sed -i 's|/pam_appl.h|/pam_appl.h.DUMMY|' configure.in
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make -j 4 &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 # Use a modified sysactions.conf
39 cp -a stuff/etc $fs
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/lib $fs/usr
43 cp -a $_pkg/usr/share/enlightenment $fs/usr/share
45 # Remove devel files *.a/*.la
46 rm -rf $fs/usr/lib/$PACKAGE/preload/*.*a
47 rm -rf $fs/usr/lib/$PACKAGE/modules/*/*/*.*a
49 # Rm backgrouds (1,6 Mb).
50 rm -rf $fs/usr/share/enlightenment/data/backgrounds/*
51 }
53 post_install()
54 {
55 res=`cat $1/etc/slim.conf | grep ^session | sed s/"sessions. *"//`
56 # Adding WM to SLIM available sessions.
57 if ! echo "$res" | grep -q e17; then
58 echo -n "Adding e17 to /etc/slim.conf..."
59 sed -i "s/^sessions.*/sessions ${res},e17/" /etc/slim.conf
60 status
61 fi
62 }
64 post_remove()
65 {
66 # Remove WM from SLIM available sessions.
67 if grep -q e17 $1/etc/slim.conf; then
68 sed -i s/,e17// $1/etc/slim.conf
69 fi
70 }