wok-current view emotion/receipt @ rev 4481

linux: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 14 15:44:04 2009 +0100 (2009-11-14)
parents fc471c5f5a90
children 55cde812bbe6
line source
1 # SliTaz package receipt.
3 PACKAGE="emotion"
4 VERSION="42672"
5 CATEGORY="x-window"
6 SHORT_DESC="E17 emotion libs."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="enlightenment xine-lib xorg-libXp xorg-libXss fribidi"
9 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev xine-lib-dev
10 xorg-libXp-dev xorg-libXss-dev fribidi-dev"
11 WEB_SITE="http://www.enlightenment.org/"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
17 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \
18 -r $VERSION $PACKAGE-$VERSION
19 cd $src
20 ./autogen.sh \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --disable-gstreamer \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/emotion
33 cp -a $_pkg/usr/share $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/emotion/*.so $fs/usr/lib/emotion
37 }