wok view efreet/receipt @ rev 24939
f2c: add libf2c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 15 16:15:33 2022 +0000 (2022-04-15) |
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 }