wok-stable view esmart/receipt @ rev 3499

tazdev: Add command gen-chroot and clean-chroot + tiny fix
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jun 19 02:43:44 2009 +0200 (2009-06-19)
parents 236a47acb6f7
children 32654c2dc3e5
line source
1 # SliTaz package receipt.
3 PACKAGE="esmart"
4 VERSION="40510"
5 CATEGORY="x-window"
6 SHORT_DESC="A collection of evas smart objects."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="cairo evas ecore embryo edje imlib2 libtool"
9 BUILD_DEPENDS="cairo-dev evas-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 --mandir=/usr/share/man \
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/usr/bin $fs/usr
32 cp -a $_pkg/usr/share $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/esmart $fs/usr/lib
35 rm -rf $fs/usr/lib/esmart/*/*.*a
36 }