wok-next annotate slock/receipt @ rev 21460
slock: added build dependecy libxrandr-dev
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 11 14:09:59 2020 +0100 (2020-05-11) |
parents | 41e89ec51d5b |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
mallory@1169 | 2 |
mallory@1169 | 3 PACKAGE="slock" |
Hans-G?nter@21449 | 4 VERSION="1.4" |
mallory@1169 | 5 CATEGORY="security" |
al@21020 | 6 SHORT_DESC="Simple X display locker" |
Hans-G?nter@21449 | 7 MAINTAINER="maintainer@slitaz.org" |
pascal@15593 | 8 LICENSE="MIT" |
Hans-G?nter@21449 | 9 WEB_SITE="https://tools.suckless.org/slock/" |
al@21020 | 10 |
mallory@1169 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21449 | 12 WGET_URL="https://dl.suckless.org/tools/$TARBALL" |
mallory@1169 | 13 |
Hans-G?nter@21460 | 14 BUILD_DEPENDS="xorgproto libx11-dev libxext-dev libxrandr-dev" |
pascal@15593 | 15 |
Hans-G?nter@21449 | 16 compile_rules() |
Hans-G?nter@21449 | 17 { |
Hans-G?nter@21449 | 18 mv config.mk config.mk.original |
mallory@1169 | 19 sed -e 's/usr\/local/usr/' < config.mk.original > config.mk |
al@21020 | 20 |
pankso@16259 | 21 make CC=$CC && |
al@21020 | 22 make DESTDIR=$install install |
mallory@1169 | 23 } |
mallory@1169 | 24 |
Hans-G?nter@21449 | 25 genpkg_rules() |
Hans-G?nter@21449 | 26 { |
al@21020 | 27 copy @std |
al@21078 | 28 DEPENDS="libx11 libxau libxdmcp libxext" |
mallory@1169 | 29 } |