wok-current annotate evas/receipt @ rev 23863

syslinux/isoboot.s: accept user args
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 19 15:46:21 2020 +0000 (2020-06-19)
parents 86790a278e70
children b01314c762e9
rev   line source
pankso@140 1 # SliTaz package receipt.
pankso@140 2
pankso@140 3 PACKAGE="evas"
pankso@16134 4 VERSION="1.7.10"
pankso@211 5 CATEGORY="x-window"
domcox@14596 6 SHORT_DESC="EFL Canvas and scenegraph rendering library."
pankso@140 7 MAINTAINER="pankso@slitaz.org"
pascal@14994 8 LICENSE="BSD"
gokhlayeh@8505 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20421 10 WEB_SITE="https://www.enlightenment.org/"
gokhlayeh@8505 11 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
domcox@14391 12 TAGS="e enlightenment efl"
pankso@16134 13 HOST_ARCH="i486 arm"
pankso@140 14
pankso@16134 15 DEPENDS="eet expat fontconfig freetype giflib libpng tiff libxml2 \
pankso@16135 16 xorg-libXss xorg-libXp eina"
psychomaniak@18351 17 BUILD_DEPENDS="eet-dev expat-dev fontconfig-dev freetype-dev fribidi-dev \
psychomaniak@18351 18 giflib-dev libpng-dev tiff-dev libxml2-dev util-linux-uuid-dev \
pankso@16135 19 xorg-libXss-dev xorg-libXp-dev eina-dev"
domcox@14596 20 OPTIONAL_DEPENDS="mesa-dev libglu-mesa-dev"
pankso@9786 21
pankso@140 22 # Rules to configure and make the package.
pankso@140 23 compile_rules()
pankso@140 24 {
pascal@22363 25 # Update for giflib >= 5 api
pascal@22363 26 sed -i 's|DGifCloseFile(gif|&,NULL|' \
pascal@22363 27 src/modules/loaders/gif/evas_image_load_gif.c
pascal@22363 28
pankso@16134 29 export CFLAGS="$CFLAGS -fvisibility=hidden"
pankso@16134 30 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
domcox@14290 31 ./configure \
domcox@14596 32 --libexecdir=/usr/lib/$PACKAGE \
domcox@14596 33 --enable-cpu-c \
domcox@14290 34 --disable-doc \
domcox@14290 35 --disable-install-examples \
domcox@14290 36 $CONFIGURE_ARGS &&
domcox@14596 37 make $MAKEFLAGS && make install
pankso@140 38 }
pankso@140 39
pankso@140 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@140 41 genpkg_rules()
pankso@140 42 {
pankso@140 43 mkdir -p $fs/usr/lib
pankso@13635 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13635 45 cp -a $install/usr/lib/evas $fs/usr/lib
pankso@2917 46 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a
domcox@14596 47 cp -a $install/usr/share $fs/usr
psychomaniak@18352 48 }