wok-current view numlockx/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 9ea3604a958c
children
line source
1 #SliTaz package receipt.
3 PACKAGE="numlockx"
4 VERSION="1.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Turns on the numlock key in X11"
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://freecode.com/projects/numlockx"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://pkgs.fedoraproject.org/repo/pkgs/$PACKAGE/$TARBALL/be9109370447eae23f6f3f8527bb1a67/$TARBALL"
13 DEPENDS="xorg-libXtst"
14 BUILD_DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed "/latest/d;/$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 && make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }