2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2015 Alexander Pyhalov
15 include ..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= ConsoleKit
18 COMPONENT_VERSION
= 0.4.1
20 COMPONENT_PROJECT_URL
= http
://www.freedesktop.org
/wiki
/Software
/ConsoleKit
21 COMPONENT_SUMMARY
= Framework for tracking users
, login sessions
, and seats
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:f032adc6146d745034315054c5822a7a09f30e20a40d6e802221fa977354403e
26 COMPONENT_ARCHIVE_URL
= http
://www.freedesktop.org
/software
/ConsoleKit
/dist/$(COMPONENT_ARCHIVE
)
27 COMPONENT_LICENSE_FILE
= COPYING
28 COMPONENT_LICENSE
= GPLv2
29 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Sessions
30 COMPONENT_FMRI
= library
/xdg
/consolekit
32 include $(WS_TOP
)/make-rules
/prep.mk
33 include $(WS_TOP
)/make-rules
/configure.mk
34 include $(WS_TOP
)/make-rules
/ips.mk
36 PATH
=/usr
/gnu
/bin
:/usr
/bin
38 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
39 glib-gettextize
-f
&&\
40 libtoolize
--copy
--force &&\
45 # Missing files in build dir without this.
46 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
48 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
49 CONFIGURE_OPTIONS
+= --libexecdir
=/usr
/lib
50 CONFIGURE_OPTIONS
+= --localstatedir
=/var
51 CONFIGURE_OPTIONS
+= --enable-pam-module
52 CONFIGURE_OPTIONS
+= --with-pam-module-dir
=/usr
/lib
/security
53 CONFIGURE_OPTIONS
+= --with-pam-module-dir
=/usr
/lib
/security
54 CONFIGURE_OPTIONS
+= --enable-rbac-shutdown
=solaris.system.shutdown
59 install: $(INSTALL_32
)