wok view econnman/receipt @ rev 24713
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 14 18:23:09 2022 +0000 (2022-03-14) |
parents | a3e9cbedd44f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="econnman"
4 VERSION="1.1"
5 CATEGORY="base-system"
6 TAGS="e enlightenment network"
7 SHORT_DESC="ConnMan user interface for Enlightenment."
8 MAINTAINER="domcox@slitaz.org"
9 LICENSE="LGPL3"
10 WEB_SITE="https://www.enlightenment.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://download.enlightenment.org/rel/apps/$PACKAGE/$TARBALL"
15 DEPENDS="connman python-ecore python-edbus python-edje python-elementary"
16 BUILD_DEPENDS="autoconf automake libtool python-edbus-dev python-elementary-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 ./configure --prefix=/usr &&
30 make &&
31 make DESTDIR="$install" install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }