wok-4.x view evas/receipt @ rev 7762
Up: tazlito (3.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 22 13:37:46 2010 +0100 (2010-12-22) |
parents | f99c07c038f7 |
children | 85cd798d6997 |
line source
1 # SliTaz package receipt.
3 PACKAGE="evas"
4 VERSION="0.9.9.063"
5 CATEGORY="x-window"
6 SHORT_DESC="E17 libs."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="expat fontconfig freetype jpeg libpng tiff xorg-libX11 \
9 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender eet openssl \
10 fribidi libgsf libcroco librsvg giflib"
11 BUILD_DEPENDS="xorg-libX11-dev eet-dev libgsf-dev libcroco-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.enlightenment.org/"
14 WGET_URL="http://download.enlightenment.org/snapshots/2009-12-02/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --disable-gnutls \
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/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/evas $fs/usr/lib
36 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a
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 }