wok-next view edje/receipt @ rev 20452
liblzma-dev is absent -> xz-dev
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 14:43:56 2018 +0200 (2018-02-28) |
parents | 533c0cab6960 |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.enlightenment.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
15 BUILD_DEPENDS="eet-dev evas-dev embryo-dev ecore-dev lua-dev"
16 SPLIT="edje-dev"
18 compile_rules() {
19 # Fix (if installed) libe*.la to use shared libs in sysroot
20 case "$ARCH" in
21 arm)
22 sed -i s"#libdir=.*#libdir='/cross/$ARCH/sysroot/usr/lib'#" \
23 /usr/lib/libecore_*.la \
24 /usr/lib/libeina.la \
25 /usr/lib/libevas.la \
26 /usr/lib/libeet.la ;;
27 esac
28 export CFLAGS="$CFLAGS -fvisibility=hidden"
29 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
31 ./configure \
32 --disable-doc \
33 $CONFIGURE_ARGS &&
34 make $MAKEFILE && make install || return 1
36 chmod 755 $install/usr/bin/*
37 }
39 genpkg_rules() {
40 case $PACKAGE in
41 edje)
42 copy @std
43 DEPENDS="eet evas embryo ecore lua"
44 TAGS="e enlightenment efl"
45 ;;
46 edje-dev)
47 copy @dev
48 DEPENDS="embryo-dev ecore-dev lua-dev pkg-config"
49 ;;
50 esac
51 }