wok-next view ecore/receipt @ rev 5195

slitaz-doc: fix version for 3.0
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 17:16:33 2010 +0200 (2010-03-28)
parents 6e90579538d6
children 3fa1d9832662
line source
1 # SliTaz package receipt.
3 PACKAGE="ecore"
4 VERSION="0.9.9.063"
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 xorg-libXp \
11 xorg-libXss libtasn1"
12 BUILD_DEPENDS="xorg-dev eet-dev evas-dev xorg-libXtst-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://www.enlightenment.org/"
15 WGET_URL="http://download.enlightenment.org/snapshots/2009-12-02/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --enable-ecore-config \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
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 }