wok-next view evas/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | c0521c689857 |
children |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.enlightenment.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
14 BUILD_DEPENDS="eet-dev expat-dev fontconfig-dev freetype-dev fribidi-dev \
15 giflib-dev libpng16-dev tiff-dev libxml2-dev util-linux-uuid-dev \
16 xorg-libXScrnSaver-dev xorg-libXp-dev eina-dev"
17 SPLIT="evas-dev"
19 compile_rules() {
20 sed -i 's/DGifCloseFile(gif/&,NULL/' \
21 src/modules/loaders/gif/evas_image_load_gif.c
22 export CFLAGS="$CFLAGS -fvisibility=hidden"
23 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
25 ./configure \
26 --libexecdir=/usr/lib/$PACKAGE \
27 --enable-cpu-c \
28 --disable-doc \
29 --disable-install-examples \
30 $CONFIGURE_ARGS &&
31 make $MAKEFLAGS && make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 evas)
37 copy @std
38 DEPENDS="eet expat fontconfig freetype giflib libpng16 tiff \
39 libxml2 xorg-libXScrnSaver xorg-libXp eina"
40 OPTIONAL_DEPENDS="mesa-dev glu-dev"
41 TAGS="e enlightenment efl"
42 ;;
43 evas-dev)
44 copy @dev
45 DEPENDS="eet-dev expat-dev fontconfig-dev freetype-dev fribidi-dev \
46 giflib-dev libpng16-dev tiff-dev libxml2-dev util-linux-uuid-dev \
47 xorg-dev xorg-libXScrnSaver-dev xorg-libXp-dev"
48 OPTIONAL_DEPENDS="mesa-dev glu-dev"
49 ;;
50 esac
51 }