wok-6.x view evas/receipt @ rev 25512
memtest: 386/1M support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 07:20:48 2023 +0000 (21 months ago) |
parents | b01314c762e9 |
children |
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/__old/att/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 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - https://git.enlightenment.org/legacy/evas.git/ 2>/dev/null | \
26 sed '/h=v[0-9]/!d;s|.*>v||;s|<.*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 # Update for giflib >= 5 api
33 sed -i 's|DGifCloseFile(gif|&,NULL|' \
34 src/modules/loaders/gif/evas_image_load_gif.c
36 export CFLAGS="$CFLAGS -fvisibility=hidden"
37 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
38 ./configure \
39 --libexecdir=/usr/lib/$PACKAGE \
40 --enable-cpu-c \
41 --disable-doc \
42 --disable-install-examples \
43 $CONFIGURE_ARGS &&
44 make $MAKEFLAGS && make install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/lib
51 cp -a $install/usr/lib/*.so* $fs/usr/lib
52 cp -a $install/usr/lib/evas $fs/usr/lib
53 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a
54 cp -a $install/usr/share $fs/usr
55 }