# SliTaz package receipt. PACKAGE="evas_generic_loaders" VERSION="1.7.10" CATEGORY="base-system" SHORT_DESC="Loaders for Evas using 'generic' module" MAINTAINER="domcox@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://www.enlightenment.org/" WGET_URL="https://download.enlightenment.org/__old/att/releases/$TARBALL" TAGS="e enlightenment efl python" DEPENDS="evas gstreamer gst-plugins-base poppler librsvg libraw" BUILD_DEPENDS="evas-dev gstreamer-dev gst-plugins-base-dev poppler-dev librsvg-dev libraw-dev autoconf automake git subversion libtool" # What is the latest version available today? current_version() { wget -O - https://download.enlightenment.org/rel/libs/evas_generic_loaders/ 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/[^a-z][0-9].tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { sed '/Anti/d' -i src/bin/pdf/main.cpp ./configure $CONFIGURE_ARGS && make $MAKEFLAGS all && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/evas $fs/usr/lib }