wok view mobile-broadband-provider-info/receipt @ rev 24913

updated mobile-broadband-provider-info and mobile-broadband-provider-info-dev (20190618 -> 20220315)
author Hans-G?nter Theisgen
date Sat Apr 09 15:53:04 2022 +0100 (2022-04-09)
parents 6831608a1b2a
children ffe3a28f2096
line source
1 # SliTaz package receipt.
3 PACKAGE="mobile-broadband-provider-info"
4 VERSION="20220315"
5 CATEGORY="network"
6 SHORT_DESC="Service Provider Database."
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="cc-pd"
9 WEB_SITE="https://wiki.gnome.org/Projects/NetworkManager/MobileBroadband/ServiceProviders"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="libxslt"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/usr/share/$PACKAGE $fs/usr/share
36 }