wok annotate numlockx/receipt @ rev 24905

updated metasploit (5.0.91 -> 6.1.36)
author Hans-G?nter Theisgen
date Sat Apr 09 13:21:57 2022 +0100 (2022-04-09)
parents 9ea3604a958c
children
rev   line source
mojo@17965 1 #SliTaz package receipt.
mojo@17965 2
mojo@17965 3 PACKAGE="numlockx"
mojo@17965 4 VERSION="1.2"
mojo@17965 5 CATEGORY="x-window"
mojo@17965 6 SHORT_DESC="Turns on the numlock key in X11"
mojo@17965 7 MAINTAINER="mojo@slitaz.org"
mojo@17965 8 LICENSE="MIT"
mojo@17965 9 WEB_SITE="http://freecode.com/projects/numlockx"
mojo@17965 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
mojo@17965 11 WGET_URL="http://pkgs.fedoraproject.org/repo/pkgs/$PACKAGE/$TARBALL/be9109370447eae23f6f3f8527bb1a67/$TARBALL"
mojo@17965 12
mojo@17965 13 DEPENDS="xorg-libXtst"
mojo@17965 14 BUILD_DEPENDS=""
mojo@17965 15
pascal@24500 16 # What is the latest version available today?
pascal@24500 17 current_version()
pascal@24500 18 {
pascal@24500 19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24500 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24500 21 }
pascal@24500 22
mojo@17965 23 # Rules to configure and make the package.
mojo@17965 24 compile_rules()
mojo@17965 25 {
mojo@17965 26 ./configure $CONFIGURE_ARGS && make && make install
mojo@17965 27 }
mojo@17965 28
mojo@17965 29 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@17965 30 genpkg_rules()
mojo@17965 31 {
mojo@17965 32 cp -a $install/* $fs
mojo@17965 33 }