wok-current view elementary/receipt @ rev 16024
spk: add to cross arch's
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 06 23:00:20 2014 +0100 (2014-03-06) |
parents | 76b72f1ad63c |
children | 689fcc83daec |
line source
1 # SliTaz package receipt.
3 PACKAGE="elementary"
4 VERSION="1.7.9"
5 CATEGORY="x-window"
6 SHORT_DESC="EFL full regular widget set."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
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"
14 DEPENDS="efreet emotion ethumb libelementary"
15 BUILD_DEPENDS="efreet-dev emotion-dev ethumb-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 CFLAGS="$CFLAGS -fvisibility=hidden"
21 LDFLAGS="$LDFLAGS -fvisibility=hidden"
22 export LDFLAGS
24 ./configure --datadir=/usr/share2 $CONFIGURE_ARGS &&
25 make $MAKEFLAGS && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 # lib
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/edje $fs/usr/lib
34 cp -a $install/usr/lib/elementary $fs/usr/lib
35 rm -f $fs/usr/lib/*/modules/*/*/*.la
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 # Package: libelementary
38 rm -f $fs/usr/lib/libelementary.so.*
39 # share
40 # /usr/share2: to not automatically install /usr/share/applications
41 mkdir -p $fs/usr/share
42 cp -a $install/usr/share2/elementary $fs/usr/share
43 }