wok-next diff efl/receipt @ rev 20386
Up aaphoto amsn ecore edbus edje eet eeze efl efreet eina eio elementary embryo emotion ethumb evas jp2a python-elementary python-evas: v2, use libjpeg-turbo and eudev
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 30 12:59:51 2017 +0200 (2017-11-30) |
parents | 491cc55c667f |
children | 835b3b8ce6ac |
line diff
1.1 --- a/efl/receipt Sun Oct 15 22:30:12 2017 +0200 1.2 +++ b/efl/receipt Thu Nov 30 12:59:51 2017 +0200 1.3 @@ -1,34 +1,29 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="efl" 1.8 VERSION="1.8.4" 1.9 CATEGORY="base-system" 1.10 -SHORT_DESC="EFL Core data structure library." 1.11 +SHORT_DESC="EFL Core data structure library" 1.12 MAINTAINER="domcox@slitaz.org" 1.13 LICENSE="LGPL2.1" 1.14 +WEB_SITE="http://www.enlightenment.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="http://www.enlightenment.org/" 1.18 WGET_URL="http://download.enlightenment.org/rel/libs/$PACKAGE/$TARBALL" 1.19 -TAGS="e enlightenment efl" 1.20 1.21 -DEPENDS="gstreamer0 gst0-plugins-base 1.22 -util-linux-mount util-linux-blkid udev openssl dbus 1.23 -libjpeg fribidi giflib tiff libsndfile lua 1.24 -xorg-libXp xorg-libXScrnSaver mesa bullet util-linux-uuid" 1.25 +BUILD_DEPENDS="gstreamer0-dev gst0-plugins-base-dev check-dev \ 1.26 +util-linux-mount-dev util-linux-blkid-dev eudev-dev openssl-dev dbus-dev \ 1.27 +libjpeg-turbo-dev fribidi-dev giflib-dev tiff-dev libsndfile-dev lua-dev \ 1.28 +xorg-libXp-dev xorg-printproto xorg-scrnsaverproto xorg-libXScrnSaver-dev \ 1.29 +xorg-libXcursor-dev xorg-libXcomposite-dev xorg-libXinerama-dev \ 1.30 +xorg-libXrandr-dev xorg-libXtst-dev mesa-dev util-linux-uuid-dev libxml2-dev \ 1.31 +flac-dev autoconf automake expat-dev xorg-libxshmfence-dev" 1.32 +SPLIT="efl-dev" 1.33 1.34 -BUILD_DEPENDS="gstreamer0-dev gst0-plugins-base-dev check-dev 1.35 -util-linux-mount-dev util-linux-blkid-dev udev-dev openssl-dev dbus-dev 1.36 -jpeg-dev fribidi-dev giflib-dev tiff-dev libsndfile-dev lua-dev 1.37 -xorg-libXp-dev xorg-printproto xorg-scrnsaverproto xorg-libXScrnSaver-dev 1.38 -xorg-libXcursor-dev xorg-libXcomposite-dev xorg-libXinerama-dev 1.39 -xorg-libXrandr-dev xorg-libXtst-dev mesa-dev util-linux-uuid-dev libxml2-dev 1.40 -flac-dev autoconf automake expat-dev xorg-libxshmfence-dev" 1.41 - 1.42 -# Rules to configure and make the package. 1.43 -compile_rules() 1.44 -{ 1.45 +compile_rules() { 1.46 sed -i 's/DGifCloseFile([^)]*/&,NULL/' \ 1.47 src/modules/evas/loaders/gif/evas_image_load_gif.c 1.48 + 1.49 autoreconf -v && 1.50 ac_aux_dir=$src ./configure \ 1.51 --disable-static \ 1.52 @@ -36,16 +31,29 @@ 1.53 --disable-pulseaudio \ 1.54 --disable-physics \ 1.55 $CONFIGURE_ARGS && 1.56 - make && make -j1 install DESTDIR=$install 1.57 + make && 1.58 + make -j1 DESTDIR=$install install 1.59 } 1.60 1.61 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.62 -genpkg_rules() 1.63 -{ 1.64 - mkdir -p $fs/usr/lib 1.65 - cp -a $install/usr/bin $fs/usr 1.66 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.67 - cp -a $install/usr/lib/e* $fs/usr/lib 1.68 - cp -a $install/usr/share $fs/usr/ 1.69 - rm -rf $fs/usr/share/mime 1.70 +genpkg_rules() { 1.71 + case $PACKAGE in 1.72 + efl) 1.73 + copy @std 1.74 + rm -rf $fs/usr/share/mime 1.75 + DEPENDS="gstreamer0 gst0-plugins-base util-linux-mount \ 1.76 + util-linux-blkid eudev openssl dbus libjpeg-turbo fribidi giflib \ 1.77 + tiff libsndfile lua xorg-libXp xorg-libXScrnSaver mesa bullet \ 1.78 + util-linux-uuid" 1.79 + TAGS="e enlightenment efl" 1.80 + ;; 1.81 + efl-dev) 1.82 + copy @dev 1.83 + DEPENDS="efl gstreamer0-dev gst0-plugins-base-dev check-dev \ 1.84 + util-linux-mount-dev util-linux-blkid-dev eudev-dev openssl-dev \ 1.85 + dbus-dev libjpeg-turbo-dev fribidi-dev giflib-dev tiff-dev \ 1.86 + libsndfile-dev lua-dev xorg-libXp-dev xorg-printproto \ 1.87 + xorg-scrnsaverproto xorg-libXScrnSaver-dev mesa-dev \ 1.88 + util-linux-uuid-dev libxml2-dev" 1.89 + ;; 1.90 + esac 1.91 }