wok-next view evas/receipt @ rev 20215

rsync, x11vnc, xautomation, xinput-calibrator, xlockmore: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 05 09:09:04 2017 +0100 (2017-11-05)
parents ea3c4b76ea5d
children 8c1b5830f802
line source
1 # SliTaz package receipt.
3 PACKAGE="evas"
4 VERSION="1.7.10"
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"
13 HOST_ARCH="i486 arm"
15 DEPENDS="eet expat fontconfig freetype giflib libpng tiff libxml2 \
16 xorg-libXScrnSaver xorg-libXp eina"
17 BUILD_DEPENDS="eet-dev expat-dev fontconfig-dev freetype-dev fribidi-dev \
18 giflib-dev libpng-dev tiff-dev libxml2-dev util-linux-uuid-dev \
19 xorg-libXScrnSaver-dev xorg-libXp-dev eina-dev"
20 OPTIONAL_DEPENDS="mesa-dev libglu-mesa-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's/DGifCloseFile(gif/&,NULL/' \
26 src/modules/loaders/gif/evas_image_load_gif.c
27 export CFLAGS="$CFLAGS -fvisibility=hidden"
28 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
29 ./configure \
30 --libexecdir=/usr/lib/$PACKAGE \
31 --enable-cpu-c \
32 --disable-doc \
33 --disable-install-examples \
34 $CONFIGURE_ARGS &&
35 make $MAKEFLAGS && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/evas $fs/usr/lib
44 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a
45 cp -a $install/usr/share $fs/usr
46 }