wok view esmart/receipt @ rev 5295

openssh*: fix genpkg_rules
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 18 23:05:05 2010 +0200 (2010-04-18)
parents 6e90579538d6
children 83e2b2ddf023
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 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \
18 -r $VERSION $PACKAGE-$VERSION
19 cd $src
20 ./autogen.sh \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/esmart $fs/usr/lib
36 rm -rf $fs/usr/lib/esmart/*/*.*a
37 }