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 (c) 2014 Alexander Pyhalov
13 # Copyright (c) 2020 Marco van Wieringen
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= libgksu
21 COMPONENT_VERSION
= 2.0.12
23 COMPONENT_FMRI
= library
/desktop
/libgksu
24 COMPONENT_CLASSIFICATION
=System
/Libraries
25 COMPONENT_PROJECT_URL
= http
://www.nongnu.org
/gksu
/
26 COMPONENT_SUMMARY
= Simple API for embedded_su
, pfexec and sudo
(optional
)
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
29 COMPONENT_ARCHIVE_HASH
= \
30 sha256
:22f9cfc3627dcb6774b9aff66c6ea6554f3b34b82bbfa2467b821e67874c3faf
31 COMPONENT_ARCHIVE_URL
= http
://people.debian.org
/~kov
/gksu
/$(COMPONENT_ARCHIVE
)
32 COMPONENT_LICENSE
= LGPLv2
34 TEST_TARGET
= $(NO_TESTS
)
36 include $(WS_MAKE_RULES
)/common.mk
40 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
41 $(TOUCH
) NEWS README
&&\
42 libtoolize
--copy
--force &&\
44 automake
-a
-c
-f
&& \
46 intltoolize
--force --copy
)
48 CONFIGURE_OPTIONS
+= --disable-static
49 CONFIGURE_OPTIONS
+= --sysconfdir
=$(ETCDIR
)
50 CONFIGURE_OPTIONS
+= --libexecdir
=$(USRLIBDIR
)
51 CONFIGURE_OPTIONS
+= --disable-gtk-doc
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES
+= gnome
/config
/gconf
55 REQUIRED_PACKAGES
+= library
/desktop
/atk
56 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
57 REQUIRED_PACKAGES
+= library
/desktop
/gtk2
58 REQUIRED_PACKAGES
+= library
/desktop
/startup-notification
59 REQUIRED_PACKAGES
+= library
/glib2
60 REQUIRED_PACKAGES
+= library
/libgtop
61 REQUIRED_PACKAGES
+= system
/library
62 REQUIRED_PACKAGES
+= x11
/library
/libx11