unleashed-userland README
[unleashed-userland.git] / components / gnome-session / Makefile
blobe404f21cb8de263ae4c792059dba0ae34b719e9d
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= gnome-session
19 COMPONENT_VERSION= 2.32.1
20 COMPONENT_REVISION= 1
21 COMPONENT_SUMMARY= GNOME session manager
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:22d93ce433fcf9c7ce6b5f36dd81f64e692ea0e41faaa0f61159ddac28c3686a
26 COMPONENT_ARCHIVE_URL= \
27 http://download.gnome.org/sources/gnome-session/2.32/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = http://www.gnome.org
29 COMPONENT_FMRI = gnome/gnome-session
30 COMPONENT_CLASSIFICATION = Desktop (GNOME)/Sessions
31 COMPONENT_LICENSE = GPLv2, LGPLv2
32 COMPONENT_LICENSE_FILE = gnome-session.license
34 include ../../make-rules/prep.mk
35 include ../../make-rules/configure.mk
36 include ../../make-rules/ips.mk
38 PATH=/usr/gnu/bin:/usr/bin
40 COMPONENT_PREP_ACTION = ( cd $(@D) &&\
41 libtoolize --force &&\
42 intltoolize -c -f --automake &&\
43 aclocal -I . &&\
44 autoheader &&\
45 automake -a -c -f &&\
46 autoconf )
48 # Missing files in build dir for configure without this.
49 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
51 LDFLAGS += -lsecdb -lsocket -lnsl
53 CONFIGURE_OPTIONS += --sysconfdir=/etc
54 CONFIGURE_OPTIONS += --libexecdir=/usr/lib
56 COMPONENT_INSTALL_ENV += GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
58 build: $(BUILD_32)
60 install: $(INSTALL_32)