# SliTaz package receipt. PACKAGE="mobile-broadband-provider-info" VERSION="20220315" CATEGORY="network" SHORT_DESC="Service Provider Database." MAINTAINER="domcox@slitaz.org" LICENSE="cc-pd" WEB_SITE="https://wiki.gnome.org/Projects/NetworkManager/MobileBroadband/ServiceProviders" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/$VERSION/$TARBALL" DEPENDS="" BUILD_DEPENDS="libxslt" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $install/usr/share/$PACKAGE $fs/usr/share }