wok view ecore/receipt @ rev 25603

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 11:43:32 2023 +0000 (16 months ago)
parents b01314c762e9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ecore"
4 VERSION="1.7.10"
5 CATEGORY="base-system"
6 SHORT_DESC="EFL core event and OS abstraction layer"
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="eina evas libcurl libidn"
16 BUILD_DEPENDS="eina-dev evas-dev curl-dev libidn-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://git.enlightenment.org/legacy/ecore.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/lib/*.so* $fs/usr/lib
40 }