wok view enlightenment-pam/receipt @ rev 7305

dropbear, openssh: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 17 17:35:10 2010 +0100 (2010-11-17)
parents b68b4f934ba7
children 85cd798d6997
line source
1 # SliTaz package receipt.
3 PACKAGE="enlightenment-pam"
4 SOURCE="enlightenment"
5 VERSION="0.16.999.063"
6 CATEGORY="x-window"
7 SHORT_DESC="Enlightenment window manager (E17)."
8 MAINTAINER="pankso@slitaz.org"
9 DEPENDS="pam eet evas ecore embryo edje efreet edbus slitaz-menus curl \
10 xorg-libXcomposite libcrypto openssl alsa-lib xorg-libX11 xorg-libXau \
11 xorg-libXdmcp xorg-libXext xorg-libXp xorg-libXss libtasn1"
12 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev efreet-dev \
13 efreet edbus-dev edbus curl-dev libcrypto-dev openssl-dev pam-dev"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WEB_SITE="http://www.enlightenment.org/"
16 WGET_URL="http://download.enlightenment.org/snapshots/2009-12-02/$TARBALL"
17 PROVIDE="enlightenment:pam"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make -j 4 &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/usr/share
37 # Use a modified sysactions.conf
38 cp -a ../$SOURCE/stuff/etc $fs
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/lib/enlightenment $fs/usr/lib
42 cp -a $_pkg/usr/share/enlightenment $fs/usr/share
44 # Remove devel files *.a/*.la
45 rm -rf $fs/usr/lib/$SOURCE/preload/*.*a
46 rm -rf $fs/usr/lib/$SOURCE/modules/*/*/*.*a
48 # Rm backgrouds (1,6 Mb) and desktop file already provides by other.
49 rm -rf $fs/usr/share/enlightenment/data/backgrounds/*
50 rm $fs/usr/share/enlightenment/data/other/desktop_files*
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 }