physlock: update to 11.
This commit is contained in:
parent
3b726f80d5
commit
c48e46bbd1
|
@ -1,17 +1,14 @@
|
||||||
# Template file for 'physlock'
|
# Template file for 'physlock'
|
||||||
pkgname=physlock
|
pkgname=physlock
|
||||||
version=0.5
|
version=11
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
|
make_use_env=yes
|
||||||
short_desc="Lightweight linux console locking tool"
|
short_desc="Lightweight linux console locking tool"
|
||||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||||
|
makedepends="pam-devel"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://github.com/muennich/physlock"
|
homepage="https://github.com/muennich/physlock"
|
||||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
checksum=395873abe9bfb3879df796bd9d857be024c4ca01c5b6e83cfd3253647b558782
|
checksum=f03031a6f4c6a08d62098457834d04b8835082a76609059451397356a83d4442
|
||||||
|
CFLAGS="-D_GNU_SOURCE"
|
||||||
pre_build() {
|
|
||||||
sed -i Makefile \
|
|
||||||
-e 's/^CFLAGS\s*=/override CFLAGS +=/' \
|
|
||||||
-e 's|-o root -g root||'
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue