wok annotate edje/receipt @ rev 20617

Update granite
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 25 17:06:17 2018 +0100 (2018-12-25)
parents 533c0cab6960
children b01314c762e9
rev   line source
pankso@140 1 # SliTaz package receipt.
pankso@140 2
pankso@140 3 PACKAGE="edje"
pankso@16141 4 VERSION="1.7.10"
pankso@211 5 CATEGORY="x-window"
domcox@14673 6 SHORT_DESC="EFL Abstract GUI layout and animation object library."
pankso@140 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="BSD GPL2"
pankso@2023 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20421 10 WEB_SITE="https://www.enlightenment.org/"
gokhlayeh@8505 11 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
domcox@14406 12 TAGS="e enlightenment efl"
pankso@16141 13 HOST_ARCH="i486 arm"
pankso@140 14
pankso@16162 15 DEPENDS="eet evas embryo ecore lua"
pankso@16162 16 BUILD_DEPENDS="eet-dev evas-dev embryo-dev ecore-dev lua-dev"
pankso@9903 17
pankso@140 18 # Rules to configure and make the package.
pankso@140 19 compile_rules()
pankso@140 20 {
pankso@16162 21 # Fix (if installed) libe*.la to use shared libs in sysroot
pankso@16141 22 case "$ARCH" in
pankso@16141 23 arm)
pankso@16141 24 sed -i s"#libdir=.*#libdir='/cross/$ARCH/sysroot/usr/lib'#" \
pankso@16141 25 /usr/lib/libecore_*.la \
pankso@16141 26 /usr/lib/libeina.la \
pankso@16141 27 /usr/lib/libevas.la \
pankso@16141 28 /usr/lib/libeet.la ;;
pankso@16141 29 esac
pankso@16141 30 export CFLAGS="$CFLAGS -fvisibility=hidden"
pankso@16141 31 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
domcox@14673 32 ./configure --disable-doc $CONFIGURE_ARGS &&
domcox@14673 33 make $MAKEFILE && make install
pankso@140 34 }
pankso@140 35
pankso@140 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@140 37 genpkg_rules()
pankso@140 38 {
al@17261 39 mkdir -p $fs/usr/lib $fs/usr/share
pankso@13639 40 cp -a $install/usr/bin $fs/usr
pankso@140 41 chmod 755 $fs/usr/bin/*
al@17261 42 cp -a $install/usr/share/edje $fs/usr/share
pankso@13639 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13639 44 cp -a $install/usr/lib/edje $fs/usr/lib
pankso@140 45 }