wok view mobile-broadband-provider-info/receipt @ rev 25788
xgalaga: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 08:52:14 2024 +0000 (2 months ago) |
parents | 2827ccaf9f63 |
children |
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="https://download.gnome.org/sources/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="libxslt"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/share/$PACKAGE $fs/usr/share
37 }