wok annotate econnman/receipt @ rev 25770

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