wok view edbus/receipt @ rev 24844

libunibreak: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 25 09:14:23 2022 +0000 (2022-03-25)
parents c86e41198e76
children 1be16cc1cd50
line source
1 # SliTaz package receipt.
3 PACKAGE="edbus"
4 VERSION="1.7.10"
5 CATEGORY="x-window"
6 SHORT_DESC="EFL Dbus wrapping and glue layer library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="e_dbus"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.enlightenment.org/"
12 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
13 TAGS="e enlightenment efl"
14 HOST_ARCH="i486 arm"
16 DEPENDS="ecore dbus"
17 BUILD_DEPENDS="ecore-dev dbus-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://git.enlightenment.org/legacy/e_dbus.git/ 2>/dev/null | \
23 sed '/h=v[0-9]/!d;s|.*>v||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export CFLAGS="$CFLAGS -fvisibility=hidden"
30 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
31 ./configure --disable-doc $CONFIGURE_ARGS &&
32 make $MAKEFILE && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }