wok-6.x view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="edje"
4 VERSION="1.7.10"
5 CATEGORY="x-window"
6 SHORT_DESC="EFL Abstract GUI layout and animation object library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.enlightenment.org/"
11 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
12 TAGS="e enlightenment efl"
13 HOST_ARCH="i486 arm"
15 DEPENDS="eet evas embryo ecore lua"
16 BUILD_DEPENDS="eet-dev evas-dev embryo-dev ecore-dev lua-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://git.enlightenment.org/legacy/edje.git/ 2>/dev/null | \
22 sed '/h=v[0-9]/!d;s|.*>v||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Fix (if installed) libe*.la to use shared libs in sysroot
29 case "$ARCH" in
30 arm)
31 sed -i s"#libdir=.*#libdir='/cross/$ARCH/sysroot/usr/lib'#" \
32 /usr/lib/libecore_*.la \
33 /usr/lib/libeina.la \
34 /usr/lib/libevas.la \
35 /usr/lib/libeet.la ;;
36 esac
37 export CFLAGS="$CFLAGS -fvisibility=hidden"
38 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
39 ./configure --disable-doc $CONFIGURE_ARGS &&
40 make $MAKEFILE && make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib $fs/usr/share
47 cp -a $install/usr/bin $fs/usr
48 chmod 755 $fs/usr/bin/*
49 cp -a $install/usr/share/edje $fs/usr/share
50 cp -a $install/usr/lib/*.so* $fs/usr/lib
51 cp -a $install/usr/lib/edje $fs/usr/lib
52 }