wok-current annotate efl/receipt @ rev 24160

Up ventoy (1.0.63)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 20 17:39:32 2021 +0000 (2021-12-20)
parents 86790a278e70
children b78e79c31b1f
rev   line source
pascal@15721 1 # SliTaz package receipt.
pascal@15721 2
pascal@15721 3 PACKAGE="efl"
domcox@15899 4 VERSION="1.8.4"
pascal@15721 5 CATEGORY="base-system"
pascal@15721 6 SHORT_DESC="EFL Core data structure library."
pascal@15721 7 MAINTAINER="domcox@slitaz.org"
pascal@15721 8 LICENSE="LGPL2.1"
pascal@15721 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20421 10 WEB_SITE="https://www.enlightenment.org/"
pascal@15721 11 WGET_URL="http://download.enlightenment.org/rel/libs/$PACKAGE/$TARBALL"
pascal@15721 12 TAGS="e enlightenment efl"
pascal@15721 13
pascal@15721 14 DEPENDS="gstreamer gst-plugins-base
pascal@15721 15 util-linux-mount util-linux-blkid udev openssl dbus
pascal@15721 16 libjpeg fribidi giflib tiff libsndfile lua
pascal@15721 17 xorg-libXp xorg-libXScrnSaver mesa bullet util-linux-uuid"
pascal@15721 18
pascal@15721 19 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev check-dev
pascal@15721 20 util-linux-mount-dev util-linux-blkid-dev udev-dev openssl-dev dbus-dev
pascal@15721 21 jpeg-dev fribidi-dev giflib-dev tiff-dev libsndfile-dev lua-dev
pascal@15721 22 xorg-libXp-dev xorg-printproto xorg-scrnsaverproto xorg-libXScrnSaver-dev
pascal@16636 23 mesa-dev util-linux-uuid-dev libxml2-dev flac-dev
pascal@15721 24 autoconf automake"
pascal@15721 25
pascal@15721 26 # Rules to configure and make the package.
pascal@15721 27 compile_rules()
pascal@15721 28 {
pascal@22363 29 # Update for giflib >= 5 api
pascal@22363 30 sed -i 's|DGifCloseFile.*gif|&,NULL|' \
pascal@22363 31 src/modules/evas/loaders/gif/evas_image_load_gif.c
pascal@22363 32
pascal@15721 33 autoreconf -v &&
al@17265 34 ac_aux_dir=$src ./configure \
pascal@15721 35 --disable-static \
pascal@15721 36 --disable-doc \
pascal@15721 37 --disable-pulseaudio \
pascal@15721 38 --disable-physics \
pascal@15721 39 $CONFIGURE_ARGS &&
pascal@15721 40 make && make -j1 install DESTDIR=$install
pascal@15721 41 }
pascal@15721 42
pascal@15721 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15721 44 genpkg_rules()
pascal@15721 45 {
pascal@15721 46 mkdir -p $fs/usr/lib
pascal@15721 47 cp -a $install/usr/bin $fs/usr
pascal@15721 48 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15721 49 cp -a $install/usr/lib/e* $fs/usr/lib
pascal@15721 50 cp -a $install/usr/share $fs/usr/
al@17261 51 rm -rf $fs/usr/share/mime
pascal@15721 52 }