wok-next view esmart/receipt @ rev 6573

lighttpd: fix 36897b07aa3c commit
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 08 21:28:00 2010 +0200 (2010-10-08)
parents a11358feced4
children 74e0a6e3f8be
line source
1 # SliTaz package receipt.
3 PACKAGE="esmart"
4 VERSION="42373"
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 xorg-libXss libcurl \
9 xorg-libXp libgpg-error xorg-libXtst libtasn1"
10 BUILD_DEPENDS="cairo-dev evas-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 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
18 if [ -f $TARBALL ]; then
19 tar xzf $TARBALL
20 else
21 svn co http://svn.enlightenment.org/svn/e/OLD/$PACKAGE \
22 -r $VERSION $PACKAGE-$VERSION &&
23 tar czf $TARBALL $PACKAGE-$VERSION
24 fi
25 cd $src
26 ./autogen.sh \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/share $fs/usr
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 cp -a $_pkg/usr/lib/esmart $fs/usr/lib
42 rm -rf $fs/usr/lib/esmart/*/*.*a
43 }