wok-current annotate esmart/receipt @ rev 4302

Fix: esmart build with last revision 42373
author Christophe Lincoln <pankso@slitaz.org>
date Mon Sep 28 08:33:48 2009 +0200 (2009-09-28)
parents 35f9b82e7363
children 6e90579538d6
rev   line source
pankso@2914 1 # SliTaz package receipt.
pankso@2914 2
pankso@2914 3 PACKAGE="esmart"
pankso@4302 4 VERSION="42373"
pankso@2914 5 CATEGORY="x-window"
pankso@2914 6 SHORT_DESC="A collection of evas smart objects."
pankso@2914 7 MAINTAINER="pankso@slitaz.org"
pascal@2973 8 DEPENDS="cairo evas ecore embryo edje imlib2 libtool"
pankso@2914 9 BUILD_DEPENDS="cairo-dev evas-dev"
pankso@2914 10 WEB_SITE="http://www.enlightenment.org/"
pankso@2914 11
pankso@2914 12 # Rules to configure and make the package.
pankso@2914 13 compile_rules()
pankso@2914 14 {
pankso@2914 15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
pankso@2914 16 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \
pankso@2914 17 -r $VERSION $PACKAGE-$VERSION
pankso@2914 18 cd $src
pankso@2914 19 ./autogen.sh \
pankso@2914 20 --prefix=/usr \
pankso@2914 21 --mandir=/usr/share/man \
pankso@2914 22 $CONFIGURE_ARGS &&
pankso@2914 23 make &&
pankso@2914 24 make DESTDIR=$PWD/_pkg install
pankso@2914 25 }
pankso@2914 26
pankso@2914 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2914 28 genpkg_rules()
pankso@2914 29 {
pankso@2914 30 mkdir -p $fs/usr/lib
pankso@2914 31 cp -a $_pkg/usr/bin $fs/usr
pankso@2914 32 cp -a $_pkg/usr/share $fs/usr
pankso@2914 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@2914 34 cp -a $_pkg/usr/lib/esmart $fs/usr/lib
pankso@2914 35 rm -rf $fs/usr/lib/esmart/*/*.*a
pankso@2914 36 }