wok-next view edje/receipt @ rev 16307
ARM: now python seems to cross compile (if libpython.so ARM are installed in sysroot)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 08 00:37:42 2014 +0200 (2014-04-08) |
parents | 689fcc83daec |
children | 533c0cab6960 |
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="http://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
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share $fs/usr
42 chmod 755 $fs/usr/bin/*
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/edje $fs/usr/lib
45 }