mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 09:07:01 +02:00
trollock: work around ancient python configure script
This commit is contained in:
parent
782161d773
commit
20e0054ba2
1 changed files with 10 additions and 4 deletions
|
@ -2,8 +2,7 @@
|
|||
pkgname=trollock
|
||||
version=4.1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="python pkg-config"
|
||||
build_wrksrc="src"
|
||||
makedepends="libX11-devel pam-devel"
|
||||
short_desc="Xtrlock fork with PAM support"
|
||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||
|
@ -12,6 +11,13 @@ homepage="https://github.com/thypon/trollock"
|
|||
distfiles="https://github.com/thypon/trollock/archive/v${version}.tar.gz"
|
||||
checksum=3e48ef9d129e91206e79b73df03757375c785296b3193d9148d044a9f9e84229
|
||||
|
||||
do_configure() {
|
||||
./configure
|
||||
do_build() {
|
||||
touch config.h
|
||||
$CC $CFLAGS -DPROJECT_NAME="\"${pkgname}-${version}\"" \
|
||||
-DPROJECT_VERSION="\"${version}\"" \
|
||||
-o trollock *.c $LDFLAGS -lX11 -lpam
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin trollock
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue