wok-6.x annotate lockdis/receipt @ rev 25274
updated recordmydesktop (0.3.8.1 -> 0.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 13:57:40 2022 +0100 (2022-07-18) |
parents | 95324ca5396c |
children | 7dd01dedad38 |
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" |
pankso@3817 | 10 WEB_SITE="http://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 } |