wok annotate lockdis/receipt @ rev 25533

nfs-utils: made stop and restart working in /etc/init.d/nfsd
author Hans-G?nter Theisgen
date Tue Feb 28 14:41:52 2023 +0100 (20 months ago)
parents 65d7d867e0c1
children d3556b8f5c3d
rev   line source
pankso@3817 1 # SliTaz package receipt.
pankso@3817 2
pankso@3817 3 PACKAGE="lockdis"
pankso@3817 4 VERSION="1.0"
pankso@3817 5 CATEGORY="x-window"
pankso@3817 6 SHORT_DESC="Simple screen locker."
pankso@3817 7 MAINTAINER="pankso@slitaz.org"
pascal@15379 8 LICENSE="GPL3"
pankso@3817 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25460 10 WEB_SITE="https://lockdis.sourceforge.net/"
pankso@3817 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@16449 12 HOST_ARCH="i486 arm"
pankso@3817 13
pascal@15379 14 DEPENDS="xorg-libX11 xorg-libXau xorg-libXpm xorg-libXdmcp"
pascal@15379 15
pascal@24411 16 # What is the latest version available today?
pascal@24411 17 current_version()
pascal@24411 18 {
pascal@24411 19 wget -O - https://sourceforge.net/projects/lockdis/files/lockdis/ 2>/dev/null | \
pascal@24411 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24411 21 sed '/scope="row/!d;s|.*/lockdis-||;s|.tar.*||;q'
pascal@24411 22 }
pascal@24411 23
pankso@3817 24 # Rules to configure and make the package.
pankso@3817 25 compile_rules()
pankso@3817 26 {
pankso@3817 27 ./configure \
pankso@3817 28 --prefix=/usr \
pankso@3817 29 --infodir=/usr/share/info \
pankso@3817 30 --mandir=/usr/share/man \
pankso@3817 31 $CONFIGURE_ARGS &&
pascal@15379 32 make && make DESTDIR=$DESTDIR install
pankso@3817 33 }
pankso@3817 34
pankso@3817 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3817 36 genpkg_rules()
pankso@3817 37 {
pankso@3817 38 mkdir -p $fs/usr
pascal@15379 39 cp -a $install/usr/bin $fs/usr
pankso@3817 40 }