wok-current view ewl/receipt @ rev 2951

ecore: fix compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 08 16:12:51 2009 +0200 (2009-05-08)
parents e068db05fb33
children 11eb7b80f02c
line source
1 # SliTaz package receipt.
3 PACKAGE="ewl"
4 VERSION="40505"
5 CATEGORY="x-window"
6 SHORT_DESC="The Enlightened Widget Library (E17)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="jpeg ecore eet evas edje efreet emotion libcurl openssl"
9 BUILD_DEPENDS="eet-dev evas-dev ecore-dev efreet-dev emotion-dev"
10 WEB_SITE="http://www.enlightenment.org/"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
16 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \
17 -r $VERSION $PACKAGE-$VERSION
18 cd $src
19 ./autogen.sh \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/etc $fs
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/ewl $fs/usr/lib
35 rm $fs/usr/lib/ewl/*/*.*a
36 cp -a $_pkg/usr/share $fs/usr
37 }