wok-next annotate esmart/receipt @ rev 5550

Up: linux (2.6.33.4)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 13 21:39:07 2010 +0200 (2010-05-13)
parents 6e90579538d6
children 83e2b2ddf023
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@5000 8 DEPENDS="cairo evas ecore embryo edje imlib2 libtool xorg-libXss libcurl \
pascal@5026 9 xorg-libXp libgpg-error xorg-libXtst libtasn1"
pankso@2914 10 BUILD_DEPENDS="cairo-dev evas-dev"
pankso@2914 11 WEB_SITE="http://www.enlightenment.org/"
pankso@2914 12
pankso@2914 13 # Rules to configure and make the package.
pankso@2914 14 compile_rules()
pankso@2914 15 {
pankso@2914 16 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
pankso@2914 17 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \
pankso@2914 18 -r $VERSION $PACKAGE-$VERSION
pankso@2914 19 cd $src
pankso@2914 20 ./autogen.sh \
pankso@2914 21 --prefix=/usr \
pankso@2914 22 --mandir=/usr/share/man \
pankso@2914 23 $CONFIGURE_ARGS &&
pankso@2914 24 make &&
pankso@2914 25 make DESTDIR=$PWD/_pkg install
pankso@2914 26 }
pankso@2914 27
pankso@2914 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2914 29 genpkg_rules()
pankso@2914 30 {
pankso@2914 31 mkdir -p $fs/usr/lib
pankso@2914 32 cp -a $_pkg/usr/bin $fs/usr
pankso@2914 33 cp -a $_pkg/usr/share $fs/usr
pankso@2914 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@2914 35 cp -a $_pkg/usr/lib/esmart $fs/usr/lib
pankso@2914 36 rm -rf $fs/usr/lib/esmart/*/*.*a
pankso@2914 37 }