wok view elementary/receipt @ rev 24525

Up libav (0.6.6 -> 12.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 22 16:15:28 2022 +0000 (2022-02-22)
parents 86790a278e70
children 1be16cc1cd50
line source
1 # SliTaz package receipt.
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="https://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 DEPENDS="efreet emotion ethumb libelementary"
18 BUILD_DEPENDS="efreet-dev emotion-dev ethumb-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://download.enlightenment.org/rel/libs/elementary/ 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/[0-9].tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export CFLAGS="$CFLAGS -fvisibility=hidden"
31 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
32 ./configure --datadir=/usr/share $CONFIGURE_ARGS &&
33 make $MAKEFLAGS && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 # lib
40 mkdir -p $fs/usr/lib $fs/usr/share
41 cp -a $install/usr/lib/edje $fs/usr/lib
42 cp -a $install/usr/lib/elementary $fs/usr/lib
43 rm -f $fs/usr/lib/*/modules/*/*/*.la
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 # Package: libelementary
46 rm -f $fs/usr/lib/libelementary.so.*
47 # share
48 cp -a $install/usr/share/elementary $fs/usr/share
49 }