wok-current annotate efl/receipt @ rev 24745
updated libfm packages (1.3.1 -> 1.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 11:17:07 2022 +0100 (2022-03-16) |
parents | 11e446052847 |
children | fa5a8f0acc3b |
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@24419 | 26 # What is the latest version available today? |
pascal@24419 | 27 current_version() |
pascal@24419 | 28 { |
pascal@24419 | 29 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24419 | 30 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24419 | 31 } |
pascal@24419 | 32 |
pascal@15721 | 33 # Rules to configure and make the package. |
pascal@15721 | 34 compile_rules() |
pascal@15721 | 35 { |
pascal@22363 | 36 # Update for giflib >= 5 api |
pascal@22363 | 37 sed -i 's|DGifCloseFile.*gif|&,NULL|' \ |
pascal@22363 | 38 src/modules/evas/loaders/gif/evas_image_load_gif.c |
pascal@22363 | 39 |
pascal@15721 | 40 autoreconf -v && |
al@17265 | 41 ac_aux_dir=$src ./configure \ |
pascal@15721 | 42 --disable-static \ |
pascal@15721 | 43 --disable-doc \ |
pascal@15721 | 44 --disable-pulseaudio \ |
pascal@15721 | 45 --disable-physics \ |
pascal@15721 | 46 $CONFIGURE_ARGS && |
pascal@15721 | 47 make && make -j1 install DESTDIR=$install |
pascal@15721 | 48 } |
pascal@15721 | 49 |
pascal@15721 | 50 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15721 | 51 genpkg_rules() |
pascal@15721 | 52 { |
pascal@15721 | 53 mkdir -p $fs/usr/lib |
pascal@15721 | 54 cp -a $install/usr/bin $fs/usr |
pascal@15721 | 55 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15721 | 56 cp -a $install/usr/lib/e* $fs/usr/lib |
pascal@15721 | 57 cp -a $install/usr/share $fs/usr/ |
al@17261 | 58 rm -rf $fs/usr/share/mime |
pascal@15721 | 59 } |