wok-stable view enlightenment/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 | f1368c80ea50 |
children | fc471c5f5a90 |
line source
1 # SliTaz package receipt.
3 PACKAGE="enlightenment"
4 VERSION="0.16.999.050"
5 CATEGORY="x-window"
6 SHORT_DESC="Enlightenment window manager (E17)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="eet evas ecore embryo edje efreet slitaz-menus curl \
9 xorg-libXcomposite libcrypto openssl alsa-lib xorg-libX11 xorg-libXau \
10 xorg-libXdmcp xorg-libXext"
11 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev efreet-dev \
12 efreet curl-dev libcrypto-dev openssl-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://www.enlightenment.org/"
15 WGET_URL="http://download.enlightenment.org/snapshots/2008-09-25/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's|/pam_appl.h|/pam_appl.h.DUMMY|' configure.in
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 # Use a modified sysactions.conf
37 cp -a stuff/etc $fs
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/lib $fs/usr
41 cp -a $_pkg/usr/share/enlightenment $fs/usr/share
43 # Remove devel files *.a/*.la
44 rm -rf $fs/usr/lib/$PACKAGE/preload/*.*a
45 rm -rf $fs/usr/lib/$PACKAGE/modules/*/linux-gnu-i486/*.*a
47 # Rm backgrouds (1,6 Mb).
48 rm -rf $fs/usr/share/enlightenment/data/backgrounds/*
49 }