wok view slock/receipt @ rev 25005

updated ntl (11.4.3 -> 11.5.1)
author Hans-G?nter Theisgen
date Mon May 16 16:29:07 2022 +0100 (2022-05-16)
parents 0601356024df
children
line source
1 # SliTaz package receipt.
3 PACKAGE="slock"
4 VERSION="1.4"
5 CATEGORY="security"
6 SHORT_DESC="Simple X display locker."
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="MIT"
9 WEB_SITE="https://tools.suckless.org/slock/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://dl.suckless.org/tools/$TARBALL"
14 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
15 BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-xextproto xorg-xproto"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 make PREFIX=/usr &&
30 make install DESTDIR=$DESTDIR PREFIX=/usr
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }