wok-next view elementary/receipt @ rev 20244
Update bdeps: apache-mod-perl, codeblocks, tacacs+, thunar-archive-plugin, tuxpaint, xpenguins
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 07 10:54:15 2017 +0200 (2017-11-07) |
parents | a554e9f9d731 |
children | 8c1b5830f802 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="elementary"
4 VERSION="1.7.10"
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"
13 HOST_ARCH="i486 arm"
15 GENERIC_MENUS="no"
16 RELATED="elementary libelementary"
17 BUILD_DEPENDS="efreet-dev emotion-dev ethumb-dev udev"
18 SPLIT="elementary elementary-dev libelementary"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 export CFLAGS="$CFLAGS -fvisibility=hidden"
24 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
25 ./configure --datadir=/usr/share $CONFIGURE_ARGS &&
26 make $MAKEFLAGS && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 elementary)
34 DEPENDS="efreet emotion ethumb libelementary"
35 # lib
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $install/usr/lib/edje $fs/usr/lib
38 cp -a $install/usr/lib/elementary $fs/usr/lib
39 rm -f $fs/usr/lib/*/modules/*/*/*.la
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 # Package: libelementary
42 rm -f $fs/usr/lib/libelementary.so.*
43 # share
44 cp -a $install/usr/share/elementary $fs/usr/share
45 ;;
46 elementary-dev)
47 CAT="development|EFL full regular widget set - Devel files."
48 DEPENDS="efreet-dev emotion-dev ethumb-dev elementary pkg-config"
49 case "$ARCH" in
50 i?86) edje_mods="/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0" ;;
51 arm) edje_mods="/usr/lib/edje/modules/elm/linux-gnueabi-arm-1.0.0" ;;
52 esac
53 mkdir -p ${fs}${edje_mods}
54 cp -a $install/usr/include $fs/usr
55 cp -a $install/usr/lib/*.*a $fs/usr/lib
56 cp -a ${install}${edje_mods}/module.la ${fs}${edje_mods}
57 cp -a $install/usr/lib/elementary $fs/usr/lib
58 rm -f $fs/usr/lib/elementary/modules/*/*/*.so
59 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
60 # menus
61 mkdir -p $fs/usr/bin
62 cp -a $install/usr/bin/* $fs/usr/bin
63 mkdir -p $fs/usr/share/pixmaps
64 cp -a $install/usr/share/applications $fs/usr/share
65 cp -a $install/usr/share/icons/* $fs/usr/share/pixmaps
66 ;;
67 libelementary)
68 CAT="development|Elementary library."
69 DEPENDS="xorg-libXp xorg-libXScrnSaver jpeg fribidi fontconfig \
70 edbus efreet glib eina"
71 mkdir -p $fs/usr/lib
72 cp -a $install/usr/lib/libelementary*so* $fs/usr/lib
73 ;;
74 esac
75 }