wok-next annotate enlightenment-pam/receipt @ rev 2600

Add enlightenment-pam, unPAMize enlightenment
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 10 16:22:42 2009 +0000 (2009-04-10)
parents
children 3726587bf329
rev   line source
pascal@2600 1 # SliTaz package receipt.
pascal@2600 2
pascal@2600 3 PACKAGE="enlightenment-pam"
pascal@2600 4 SOURCE="enlightenment"
pascal@2600 5 VERSION="0.16.999.050"
pascal@2600 6 CATEGORY="x-window"
pascal@2600 7 SHORT_DESC="Enlightenment window manager (E17)."
pascal@2600 8 MAINTAINER="pankso@slitaz.org"
pascal@2600 9 DEPENDS="eet evas ecore embryo edje efreet slitaz-menus curl \
pascal@2600 10 xorg-libXcomposite libcrypto openssl alsa-lib xorg-libX11 xorg-libXau \
pascal@2600 11 xorg-libXdmcp xorg-libXext"
pascal@2600 12 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev efreet-dev \
pascal@2600 13 efreet curl-dev libcrypto-dev openssl-dev pam-dev"
pascal@2600 14 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@2600 15 WEB_SITE="http://www.enlightenment.org/"
pascal@2600 16 WGET_URL="http://download.enlightenment.org/snapshots/2008-09-25/$TARBALL"
pascal@2600 17
pascal@2600 18 # Rules to configure and make the package.
pascal@2600 19 compile_rules()
pascal@2600 20 {
pascal@2600 21 cd $src
pascal@2600 22 ./configure \
pascal@2600 23 --prefix=/usr \
pascal@2600 24 --sysconfdir=/etc \
pascal@2600 25 --infodir=/usr/share/info \
pascal@2600 26 --mandir=/usr/share/man \
pascal@2600 27 $CONFIGURE_ARGS &&
pascal@2600 28 make &&
pascal@2600 29 make DESTDIR=$PWD/_pkg install
pascal@2600 30 }
pascal@2600 31
pascal@2600 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2600 33 genpkg_rules()
pascal@2600 34 {
pascal@2600 35 mkdir -p $fs/usr/share
pascal@2600 36 # Use a modified sysactions.conf
pascal@2600 37 cp -a ../$SOURCE/stuff/etc $fs
pascal@2600 38
pascal@2600 39 cp -a $_pkg/usr/bin $fs/usr
pascal@2600 40 cp -a $_pkg/usr/lib $fs/usr
pascal@2600 41 cp -a $_pkg/usr/share/enlightenment $fs/usr/share
pascal@2600 42
pascal@2600 43 # Remove devel files *.a/*.la
pascal@2600 44 rm -rf $fs/usr/lib/$SOURCE/preload/*.*a
pascal@2600 45 rm -rf $fs/usr/lib/$SOURCE/modules/*/linux-gnu-i486/*.*a
pascal@2600 46
pascal@2600 47 # Rm backgrouds (1,6 Mb).
pascal@2600 48 rm -rf $fs/usr/share/enlightenment/data/backgrounds/*
pascal@2600 49 }
pascal@2600 50