wok-6.x annotate mobile-broadband-provider-info/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | 6831608a1b2a |
children |
rev | line source |
---|---|
domcox@15394 | 1 # SliTaz package receipt. |
domcox@15394 | 2 |
domcox@15394 | 3 PACKAGE="mobile-broadband-provider-info" |
Hans-G?nter@24913 | 4 VERSION="20220315" |
domcox@15394 | 5 CATEGORY="network" |
Hans-G?nter@21463 | 6 SHORT_DESC="Service Provider Database." |
domcox@15394 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@15394 | 8 LICENSE="cc-pd" |
Hans-G?nter@21463 | 9 WEB_SITE="https://wiki.gnome.org/Projects/NetworkManager/MobileBroadband/ServiceProviders" |
Hans-G?nter@21463 | 10 |
domcox@15394 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@21463 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/$VERSION/$TARBALL" |
domcox@15394 | 13 |
domcox@15394 | 14 DEPENDS="" |
Hans-G?nter@23185 | 15 BUILD_DEPENDS="libxslt" |
domcox@15394 | 16 |
pascal@24111 | 17 current_version() |
pascal@24111 | 18 { |
pascal@24111 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 21 } |
pascal@24111 | 22 |
domcox@15394 | 23 # Rules to configure and make the package. |
domcox@15394 | 24 compile_rules() |
domcox@15394 | 25 { |
Hans-G?nter@21463 | 26 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21463 | 27 make && |
Hans-G?nter@21463 | 28 make install |
domcox@15394 | 29 } |
domcox@15394 | 30 |
domcox@15394 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@15394 | 32 genpkg_rules() |
domcox@15394 | 33 { |
domcox@15394 | 34 mkdir -p $fs/usr/share |
Hans-G?nter@23184 | 35 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
domcox@15394 | 36 } |