wok-current annotate mobile-broadband-provider-info/receipt @ rev 24542
updated fcron (3.2.1 -> 3.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 24 14:25:23 2022 +0100 (2022-02-24) |
parents | 3efc63bc3bbb |
children | 2827ccaf9f63 |
rev | line source |
---|---|
domcox@15394 | 1 # SliTaz package receipt. |
domcox@15394 | 2 |
domcox@15394 | 3 PACKAGE="mobile-broadband-provider-info" |
Hans-G?nter@23184 | 4 VERSION="20190618" |
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 } |