wok-current view enlightenment/receipt @ rev 1467

linux-source: build kernel in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 11:49:56 2008 +0000 (2008-10-04)
parents 0f87db997e1e
children 8bbdcd252dd2
line source
1 # SliTaz package receipt.
3 PACKAGE="enlightenment"
4 VERSION="0.16.999.042"
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 xorg-libXcomposite libcrypto openssl"
9 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev efreet-dev curl-dev libcrypto-dev openssl-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.enlightenment.org/"
12 WGET_URL="http://download.enlightenment.org/snapshots/2008-01-25/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 # Use a modified sysactions.conf
33 cp -a stuff/etc $fs
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib $fs/usr
37 cp -a $_pkg/usr/share/enlightenment $fs/usr/share
39 # Remove devel files *.a/*.la
40 rm -rf $fs/usr/lib/$PACKAGE/preload/*.*a
41 rm -rf $fs/usr/lib/$PACKAGE/modules/*/linux-gnu-i486/*.*a
43 # Rm backgrouds (1,6 Mb).
44 rm -rf $fs/usr/share/enlightenment/data/backgrounds/*
45 }