Alexander Pyhalov
2017-11-07 f85657a57c977300049a41eb0bc2ae1af28e8ea5
commit | author | age
fd023a 1 #
AP 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.
6 #
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.
10 #
11
12 #
13 # Copyright 2017 Alexander Pyhalov
14 #
15
16 include ../../../make-rules/shared-macros.mk
17
18 COMPONENT_NAME=        gtk3-nocsd
19 COMPONENT_VERSION=    3
f85657 20 COMPONENT_REVISION=    1
fd023a 21 COMPONENT_FMRI=        library/desktop/gtk3/gtk3-nocsd
AP 22 COMPONENT_SUMMARY=    A small module used to disable the client side decoration of Gtk+ 3
23 COMPONENT_CLASSIFICATION=Applications/Plug-ins and Run-times
24 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_PROJECT_URL=    https://github.com/PCMan/gtk3-nocsd
26 COMPONENT_ARCHIVE=    $(COMPONENT_NAME).tar.gz
27 COMPONENT_ARCHIVE_HASH=    sha256:779c47d894ee3b6751ddb02b62a76757b77eb81232c4f9335564654817889570
28 COMPONENT_ARCHIVE_URL=    https://github.com/PCMan/gtk3-nocsd/archive/v$(COMPONENT_VERSION).tar.gz
29 COMPONENT_LICENSE=    LGPLv2.1
30 COMPONENT_LICENSE_FILE=    COPYING
31
32 include $(WS_MAKE_RULES)/prep.mk
33 include $(WS_MAKE_RULES)/justmake.mk
34 include $(WS_MAKE_RULES)/ips.mk
35
36 COMPONENT_BUILD_ENV += CC="$(CC)"
37 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
38 COMPONENT_BUILD_ENV += LDFLAGS="$(LDFLAGS)"
39
40 BINDIR.32 = /usr/bin
41 BINDIR.64 = /usr/bin/$(MACH64)
42
43 LIBDIR.32 = /usr/lib
44 LIBDIR.64 = /usr/lib/$(MACH64)
45
46 COMPONENT_INSTALL_ENV += mandir=/usr/share/man
47 COMPONENT_INSTALL_ENV += bindir=$(BINDIR.$(BITS))
48 COMPONENT_INSTALL_ENV += libdir=$(LIBDIR.$(BITS))
49 COMPONENT_INSTALL_ENV += bashcompletiondir=/usr/share/bash-completion/completions
50
51 build: $(BUILD_32_and_64)
52
f85657 53 install: $(INSTALL_32_and_64)
fd023a 54
AP 55 test: $(NO_TESTS)
56
57 REQUIRED_PACKAGES += library/desktop/gtk3
58 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection