wok view efl/receipt @ rev 25686

Use System category for pm-suspend entry
author Stanislas Leduc <shann@slitaz.org>
date Sat Apr 06 12:03:22 2024 +0200 (7 months ago)
parents b78e79c31b1f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="efl"
4 VERSION="1.8.4"
5 CATEGORY="base-system"
6 SHORT_DESC="EFL Core data structure library."
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.enlightenment.org/"
11 WGET_URL="https://web.archive.org/web/20150209201558if_/https://download.enlightenment.org/rel/libs/$PACKAGE/$TARBALL"
12 TAGS="e enlightenment efl"
14 DEPENDS="gstreamer gst-plugins-base
15 util-linux-mount util-linux-blkid udev openssl dbus
16 libjpeg fribidi giflib tiff libsndfile lua
17 xorg-libXp xorg-libXScrnSaver mesa bullet util-linux-uuid"
19 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev check-dev
20 util-linux-mount-dev util-linux-blkid-dev udev-dev openssl-dev dbus-dev
21 jpeg-dev fribidi-dev giflib-dev tiff-dev libsndfile-dev lua-dev
22 xorg-libXp-dev xorg-printproto xorg-scrnsaverproto xorg-libXScrnSaver-dev
23 mesa-dev util-linux-uuid-dev libxml2-dev flac-dev
24 autoconf automake"
26 # What is the latest version available today?
27 current_version()
28 {
29 wget -O - ${WGET_URL%/*} 2>/dev/null | \
30 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
31 }
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 # Update for giflib >= 5 api
37 sed -i 's|DGifCloseFile.*gif|&,NULL|' \
38 src/modules/evas/loaders/gif/evas_image_load_gif.c
40 autoreconf -v &&
41 ac_aux_dir=$src ./configure \
42 --disable-static \
43 --disable-doc \
44 --disable-pulseaudio \
45 --disable-physics \
46 $CONFIGURE_ARGS &&
47 make && make -j1 install DESTDIR=$install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/lib
54 cp -a $install/usr/bin $fs/usr
55 cp -a $install/usr/lib/*.so* $fs/usr/lib
56 cp -a $install/usr/lib/e* $fs/usr/lib
57 cp -a $install/usr/share $fs/usr/
58 rm -rf $fs/usr/share/mime
59 }