wok-stable view ewl/receipt @ rev 4534

Up: gnome-mplayer; improve receipt
author Rohit Joshi <jozee@slitaz.org>
date Mon Nov 30 10:33:39 2009 +0000 (2009-11-30)
parents 11eb7b80f02c
children 6e90579538d6
line source
1 # SliTaz package receipt.
3 PACKAGE="ewl"
4 VERSION="42530"
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 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 }