aboutsummaryrefslogtreecommitdiff
path: root/lumina-checkpass/lumina-checkpass.pro
blob: 387246d0db56b3097776f34e99bc945a646c9511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
TEMPLATE = app
#Don't need any Qt - just a simple C program
QT = 
CONFIG += console

TARGET = lumina-checkpass
isEmpty(PREFIX) {
 PREFIX = /usr/local
}
target.path = $$DESTDIR$$PREFIX/sbin

isEmpty(LIBPREFIX) {
 LIBPREFIX = $$PREFIX/lib
}

LIBS     += -L$$LIBPREFIX -lpam

SOURCES += main.c

INCLUDEPATH += $$PREFIX/include

perms.path = $$DESTDIR$$PREFIX/sbin
perms.extra = "chmod 4555 $$DESTDIR$$PREFIX/sbin/lumina-checkpass"

INSTALLS += target perms

bgstack15