wok-current view efreet/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents b01314c762e9
children
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.bz2"
10 WEB_SITE="https://www.enlightenment.org/"
11 WGET_URL="https://download.enlightenment.org/__old/att/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 }