trollock: work around ancient python configure script
This commit is contained in:
parent
782161d773
commit
20e0054ba2
@ -2,8 +2,7 @@
|
|||||||
pkgname=trollock
|
pkgname=trollock
|
||||||
version=4.1
|
version=4.1
|
||||||
revision=2
|
revision=2
|
||||||
build_style=gnu-configure
|
build_wrksrc="src"
|
||||||
hostmakedepends="python pkg-config"
|
|
||||||
makedepends="libX11-devel pam-devel"
|
makedepends="libX11-devel pam-devel"
|
||||||
short_desc="Xtrlock fork with PAM support"
|
short_desc="Xtrlock fork with PAM support"
|
||||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
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"
|
distfiles="https://github.com/thypon/trollock/archive/v${version}.tar.gz"
|
||||||
checksum=3e48ef9d129e91206e79b73df03757375c785296b3193d9148d044a9f9e84229
|
checksum=3e48ef9d129e91206e79b73df03757375c785296b3193d9148d044a9f9e84229
|
||||||
|
|
||||||
do_configure() {
|
do_build() {
|
||||||
./configure
|
touch config.h
|
||||||
|
$CC $CFLAGS -DPROJECT_NAME="\"${pkgname}-${version}\"" \
|
||||||
|
-DPROJECT_VERSION="\"${version}\"" \
|
||||||
|
-o trollock *.c $LDFLAGS -lX11 -lpam
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vbin trollock
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user