wok-6.x view numlockx/receipt @ rev 24783

Up apache-ant (1.10.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 20 12:11:06 2022 +0000 (2022-03-20)
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 }