wok-current view evas_generic_loaders/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | d8c511e24c20 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="evas_generic_loaders"
4 VERSION="1.7.10"
5 CATEGORY="base-system"
6 SHORT_DESC="Loaders for Evas using 'generic' module"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.enlightenment.org/"
11 WGET_URL="https://download.enlightenment.org/__old/att/releases/$TARBALL"
12 TAGS="e enlightenment efl python"
14 DEPENDS="evas gstreamer gst-plugins-base poppler librsvg libraw"
15 BUILD_DEPENDS="evas-dev gstreamer-dev gst-plugins-base-dev poppler-dev
16 librsvg-dev libraw-dev
17 autoconf automake git subversion libtool"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://download.enlightenment.org/rel/libs/evas_generic_loaders/ 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/[^a-z][0-9].tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed '/Anti/d' -i src/bin/pdf/main.cpp
30 ./configure $CONFIGURE_ARGS &&
31 make $MAKEFLAGS all && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/evas $fs/usr/lib
39 }