wok-stable view ewl/receipt @ rev 2945

Update: BUILD_DEPENDS libmpeg2
author Rohit Joshi <jozee@slitaz.org>
date Thu May 07 22:43:36 2009 +0000 (2009-05-07)
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 }