wok-current view evas/receipt @ rev 14900

Add firmware-mod-kit
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 31 11:20:11 2013 +0200 (2013-07-31)
parents f346c6ccff15
children 305504af766f
line source
1 # SliTaz package receipt.
3 PACKAGE="evas"
4 VERSION="1.7.7"
5 CATEGORY="x-window"
6 SHORT_DESC="EFL Canvas and scenegraph rendering library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.enlightenment.org/"
10 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
11 TAGS="e enlightenment efl"
13 DEPENDS="eet expat fontconfig freetype
14 giflib libpng tiff libxml2 xorg xorg-libXss xorg-libXp"
15 BUILD_DEPENDS="eet-dev expat-dev fontconfig-dev freetype-dev fribidi-dev
16 giflib-dev libpng-dev tiff-dev libxml2-dev
17 xorg-dev xorg-libXss-dev xorg-libXp-dev"
18 OPTIONAL_DEPENDS="mesa-dev libglu-mesa-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 CFLAGS="$CFLAGS -fvisibility=hidden"
24 LDFLAGS="$LDFLAGS -fvisibility=hidden"
25 export LDFLAGS
27 ./configure \
28 --libexecdir=/usr/lib/$PACKAGE \
29 --enable-cpu-c \
30 --disable-doc \
31 --disable-install-examples \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/evas $fs/usr/lib
42 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a
43 cp -a $install/usr/share $fs/usr
44 }