wok-next view edje/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | c4e53a39395a |
children |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
14 BUILD_DEPENDS="eet-dev evas-dev embryo-dev ecore-dev lua-dev"
15 SPLIT="edje-dev"
17 compile_rules() {
18 # Fix (if installed) libe*.la to use shared libs in sysroot
19 case "$ARCH" in
20 arm)
21 sed -i s"#libdir=.*#libdir='/cross/$ARCH/sysroot/usr/lib'#" \
22 /usr/lib/libecore_*.la \
23 /usr/lib/libeina.la \
24 /usr/lib/libevas.la \
25 /usr/lib/libeet.la ;;
26 esac
27 export CFLAGS="$CFLAGS -fvisibility=hidden"
28 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
30 ./configure \
31 --disable-doc \
32 $CONFIGURE_ARGS &&
33 make $MAKEFILE && make install || return 1
35 chmod 755 $install/usr/bin/*
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 edje)
41 copy @std
42 DEPENDS="eet evas embryo ecore lua"
43 TAGS="e enlightenment efl"
44 ;;
45 edje-dev)
46 copy @dev
47 DEPENDS="embryo-dev ecore-dev lua-dev"
48 ;;
49 esac
50 }