wok-current view ecore/receipt @ rev 4361
Up: libxml2* (2.7.5) + python-lxml
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Oct 06 11:19:06 2009 +0200 (2009-10-06) |
parents | 45790f0c3d53 |
children | f99c07c038f7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ecore"
4 VERSION="0.9.9.062"
5 CATEGORY="x-window"
6 SHORT_DESC="E17 core libs."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="eet evas libcurl openssl xorg-libX11 xorg-libXau xorg-libXcomposite \
9 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
10 xorg-libXrandr xorg-libXrender xorg-libXdamage xorg-libXtst"
11 BUILD_DEPENDS="xorg-dev eet-dev evas-dev xorg-libXtst-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.enlightenment.org/"
14 WGET_URL="http://download.enlightenment.org/snapshots/2009-07-29/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-ecore-config \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 for i in $fs/usr/lib/*.so ; do
37 [ -L $i ] || continue
38 [ -e $i.0 ] && continue
39 target=$(readlink $i)
40 case "$target" in
41 *.so.0.*) ln -s $target $i.0;;
42 esac
43 done
44 }