wok-6.x annotate edje/receipt @ rev 24783
Up apache-ant (1.10.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 20 12:11:06 2022 +0000 (2022-03-20) |
parents | 86790a278e70 |
children | 1be16cc1cd50 |
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 |
pascal@24759 | 18 # What is the latest version available today? |
pascal@24759 | 19 current_version() |
pascal@24759 | 20 { |
pascal@24759 | 21 wget -O - https://git.enlightenment.org/legacy/edje.git/ 2>/dev/null | \ |
pascal@24759 | 22 sed '/h=v[0-9]/!d;s|.*>v||;s|<.*||;q' |
pascal@24759 | 23 } |
pascal@24759 | 24 |
pankso@140 | 25 # Rules to configure and make the package. |
pankso@140 | 26 compile_rules() |
pankso@140 | 27 { |
pankso@16162 | 28 # Fix (if installed) libe*.la to use shared libs in sysroot |
pankso@16141 | 29 case "$ARCH" in |
pankso@16141 | 30 arm) |
pankso@16141 | 31 sed -i s"#libdir=.*#libdir='/cross/$ARCH/sysroot/usr/lib'#" \ |
pankso@16141 | 32 /usr/lib/libecore_*.la \ |
pankso@16141 | 33 /usr/lib/libeina.la \ |
pankso@16141 | 34 /usr/lib/libevas.la \ |
pankso@16141 | 35 /usr/lib/libeet.la ;; |
pankso@16141 | 36 esac |
pankso@16141 | 37 export CFLAGS="$CFLAGS -fvisibility=hidden" |
pankso@16141 | 38 export LDFLAGS="$LDFLAGS -fvisibility=hidden" |
domcox@14673 | 39 ./configure --disable-doc $CONFIGURE_ARGS && |
domcox@14673 | 40 make $MAKEFILE && make install |
pankso@140 | 41 } |
pankso@140 | 42 |
pankso@140 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@140 | 44 genpkg_rules() |
pankso@140 | 45 { |
al@17261 | 46 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@13639 | 47 cp -a $install/usr/bin $fs/usr |
pankso@140 | 48 chmod 755 $fs/usr/bin/* |
al@17261 | 49 cp -a $install/usr/share/edje $fs/usr/share |
pankso@13639 | 50 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@13639 | 51 cp -a $install/usr/lib/edje $fs/usr/lib |
pankso@140 | 52 } |