wok-next annotate enlightenment-pam/receipt @ rev 2601
enlightenment-pam: set PROVIDE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 10 16:24:27 2009 +0000 (2009-04-10) |
parents | c40855c3b892 |
children | e97c81ccdba0 |
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@2601 | 17 PROVIDE="enlightenment:pam" |
pascal@2600 | 18 |
pascal@2600 | 19 # Rules to configure and make the package. |
pascal@2600 | 20 compile_rules() |
pascal@2600 | 21 { |
pascal@2600 | 22 cd $src |
pascal@2600 | 23 ./configure \ |
pascal@2600 | 24 --prefix=/usr \ |
pascal@2600 | 25 --sysconfdir=/etc \ |
pascal@2600 | 26 --infodir=/usr/share/info \ |
pascal@2600 | 27 --mandir=/usr/share/man \ |
pascal@2600 | 28 $CONFIGURE_ARGS && |
pascal@2600 | 29 make && |
pascal@2600 | 30 make DESTDIR=$PWD/_pkg install |
pascal@2600 | 31 } |
pascal@2600 | 32 |
pascal@2600 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2600 | 34 genpkg_rules() |
pascal@2600 | 35 { |
pascal@2600 | 36 mkdir -p $fs/usr/share |
pascal@2600 | 37 # Use a modified sysactions.conf |
pascal@2600 | 38 cp -a ../$SOURCE/stuff/etc $fs |
pascal@2600 | 39 |
pascal@2600 | 40 cp -a $_pkg/usr/bin $fs/usr |
pascal@2600 | 41 cp -a $_pkg/usr/lib $fs/usr |
pascal@2600 | 42 cp -a $_pkg/usr/share/enlightenment $fs/usr/share |
pascal@2600 | 43 |
pascal@2600 | 44 # Remove devel files *.a/*.la |
pascal@2600 | 45 rm -rf $fs/usr/lib/$SOURCE/preload/*.*a |
pascal@2600 | 46 rm -rf $fs/usr/lib/$SOURCE/modules/*/linux-gnu-i486/*.*a |
pascal@2600 | 47 |
pascal@2600 | 48 # Rm backgrouds (1,6 Mb). |
pascal@2600 | 49 rm -rf $fs/usr/share/enlightenment/data/backgrounds/* |
pascal@2600 | 50 } |
pascal@2600 | 51 |