wok view lockdis/receipt @ rev 24717
updated liba53 (0.1 -> 4.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 07:27:19 2022 +0100 (2022-03-15) |
parents | 95324ca5396c |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lockdis"
4 VERSION="1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple screen locker."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://lockdis.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="xorg-libX11 xorg-libXau xorg-libXpm xorg-libXdmcp"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/lockdis/files/lockdis/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/lockdis-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }