wok-6.x view efreet/receipt @ rev 24973

Up zsh (5.8.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 15:03:44 2022 +0000 (2022-05-01)
parents 86790a278e70
children 1be16cc1cd50
line source
1 # SliTaz package receipt.
3 PACKAGE="efreet"
4 VERSION="1.7.10"
5 CATEGORY="base-system"
6 SHORT_DESC="EFL library for handling of freedesktop.org specs."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 DEPENDS="ecore"
16 BUILD_DEPENDS="ecore-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://git.enlightenment.org/legacy/efreet.git/ 2>/dev/null | \
22 sed '/h=v[0-9]/!d;s|.*>v||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export CFLAGS="$CFLAGS -fvisibility=hidden"
29 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
30 ./configure --disable-doc $CONFIGURE_ARGS &&
31 make $MAKEFLAGS && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/efreet $fs/usr/lib
42 }