wok-stable view ecore/receipt @ rev 3106
Up: hal (0.5.12)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 17 23:52:28 2009 +0200 (2009-05-17) |
parents | 8a540c20b723 |
children | 45790f0c3d53 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ecore"
4 VERSION="0.9.9.060"
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 libiconv"
11 BUILD_DEPENDS="xorg-dev eet-dev evas-dev xorg-libXtst-dev libiconv-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.enlightenment.org/"
14 WGET_URL="http://download.enlightenment.org/snapshots/2009-04-22/$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 --with-iconv-link=-liconv \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 for i in $fs/usr/lib/*.so ; do
38 [ -L $i ] || continue
39 [ -e $i.0 ] && continue
40 target=$(readlink $i)
41 case "$target" in
42 *.so.0.*) ln -s $target $i.0;;
43 esac
44 done
45 }