wok view edje/receipt @ rev 18683
Add ipkungfu
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 09 21:51:05 2015 +0100 (2015-12-09) |
parents | 1204cf352c74 |
children | 86790a278e70 |
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 $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 }