wok view evas/receipt @ rev 22726
updated fish (2.1.1 -> 3.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 23 09:38:06 2020 +0100 (2020-01-23) |
parents | 86790a278e70 |
children | b01314c762e9 |
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="https://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-libXss 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-libXss-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 # Update for giflib >= 5 api
26 sed -i 's|DGifCloseFile(gif|&,NULL|' \
27 src/modules/loaders/gif/evas_image_load_gif.c
29 export CFLAGS="$CFLAGS -fvisibility=hidden"
30 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
31 ./configure \
32 --libexecdir=/usr/lib/$PACKAGE \
33 --enable-cpu-c \
34 --disable-doc \
35 --disable-install-examples \
36 $CONFIGURE_ARGS &&
37 make $MAKEFLAGS && make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/lib/evas $fs/usr/lib
46 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a
47 cp -a $install/usr/share $fs/usr
48 }