# SliTaz package receipt. PACKAGE="edje" VERSION="1.7.10" CATEGORY="x-window" SHORT_DESC="EFL Abstract GUI layout and animation object library." MAINTAINER="pankso@slitaz.org" LICENSE="BSD 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" HOST_ARCH="i486 arm" DEPENDS="eet evas embryo ecore lua" BUILD_DEPENDS="eet-dev evas-dev embryo-dev ecore-dev lua-dev" # What is the latest version available today? current_version() { wget -O - https://git.enlightenment.org/legacy/edje.git/ 2>/dev/null | \ sed '/h=v[0-9]/!d;s|.*>v||;s|<.*||;q' } # Rules to configure and make the package. compile_rules() { # Fix (if installed) libe*.la to use shared libs in sysroot case "$ARCH" in arm) sed -i s"#libdir=.*#libdir='/cross/$ARCH/sysroot/usr/lib'#" \ /usr/lib/libecore_*.la \ /usr/lib/libeina.la \ /usr/lib/libevas.la \ /usr/lib/libeet.la ;; esac export CFLAGS="$CFLAGS -fvisibility=hidden" export LDFLAGS="$LDFLAGS -fvisibility=hidden" ./configure --disable-doc $CONFIGURE_ARGS && make $MAKEFILE && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/share cp -a $install/usr/bin $fs/usr chmod 755 $fs/usr/bin/* cp -a $install/usr/share/edje $fs/usr/share cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/lib/edje $fs/usr/lib }