wok view 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 |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Fix (if installed) libe*.la to use shared libs in sysroot
22 case "$ARCH" in
23 arm)
24 sed -i s"#libdir=.*#libdir='/cross/$ARCH/sysroot/usr/lib'#" \
25 /usr/lib/libecore_*.la \
26 /usr/lib/libeina.la \
27 /usr/lib/libevas.la \
28 /usr/lib/libeet.la ;;
29 esac
30 export CFLAGS="$CFLAGS -fvisibility=hidden"
31 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
32 ./configure --disable-doc $CONFIGURE_ARGS &&
33 make $MAKEFILE && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 chmod 755 $fs/usr/bin/*
42 cp -a $install/usr/share/edje $fs/usr/share
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/edje $fs/usr/lib
45 }