wok-current view evas/receipt @ rev 16024
spk: add to cross arch's
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 06 23:00:20 2014 +0100 (2014-03-06) |
parents | d3e76f1e0aee |
children | ef950845a642 |
line source
1 # SliTaz package receipt.
3 PACKAGE="evas"
4 VERSION="1.7.9"
5 CATEGORY="x-window"
6 SHORT_DESC="EFL Canvas and scenegraph rendering library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.enlightenment.org/"
11 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
12 TAGS="e enlightenment efl"
14 DEPENDS="eet expat fontconfig freetype
15 giflib libpng tiff libxml2 xorg xorg-libXss xorg-libXp"
16 BUILD_DEPENDS="eet-dev expat-dev fontconfig-dev freetype-dev fribidi-dev
17 giflib-dev libpng-dev tiff-dev libxml2-dev util-linux-uuid-dev
18 xorg-dev xorg-libXss-dev xorg-libXp-dev"
19 OPTIONAL_DEPENDS="mesa-dev libglu-mesa-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 CFLAGS="$CFLAGS -fvisibility=hidden"
25 LDFLAGS="$LDFLAGS -fvisibility=hidden"
26 export LDFLAGS
28 ./configure \
29 --libexecdir=/usr/lib/$PACKAGE \
30 --enable-cpu-c \
31 --disable-doc \
32 --disable-install-examples \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/evas $fs/usr/lib
43 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a
44 cp -a $install/usr/share $fs/usr
45 }