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
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 2016 Alexander Pyhalov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= libproxy
20 COMPONENT_VERSION
= 0.3.1
22 COMPONENT_SUMMARY
= Libproxy is a library that provides automatic proxy configuration management
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:82e27b1b391fbf36ae1433729b7431739212171fbffc34c55eb75b60e20998fb
27 COMPONENT_ARCHIVE_URL
= \
28 http
://libproxy.googlecode.com
/files
/$(COMPONENT_ARCHIVE
)
29 COMPONENT_PROJECT_URL
= http
://code.google.com
/p
/libproxy
/
31 include $(WS_MAKE_RULES
)/prep.mk
32 include $(WS_MAKE_RULES
)/configure.mk
33 include $(WS_MAKE_RULES
)/ips.mk
35 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
36 libtoolize
--force &&\
41 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
43 CFLAGS
+= -D__EXTENSIONS__
45 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
46 CONFIGURE_OPTIONS
+= --includedir=/usr
/include/libproxy
47 CONFIGURE_OPTIONS
+= --libexecdir
=/usr
/lib
48 CONFIGURE_OPTIONS
+= --localstatedir
=/var
/lib
49 CONFIGURE_OPTIONS
+= --with-gnome
50 CONFIGURE_OPTIONS
+= --without-dotnet
51 CONFIGURE_OPTIONS
+= --with-direct
52 CONFIGURE_OPTIONS
+= --with-envvar
53 CONFIGURE_OPTIONS
+= --with-file
54 CONFIGURE_OPTIONS
+= --with-wpad
55 CONFIGURE_OPTIONS
+= --without-networkmanager
56 CONFIGURE_OPTIONS
+= --without-webkit
57 CONFIGURE_OPTIONS
+= --without-mozjs
59 CONFIGURE_ENV
+= XGETTEXT
=/usr
/gnu
/bin
/xgettext
60 CONFIGURE_ENV
+= MSGFMT
=/usr
/gnu
/bin
/msgfmt
61 CONFIGURE_ENV
+= PERL
=$(PERL
)
62 CONFIGURE_ENV
+= PYTHON
="$(PYTHON)"
63 CONFIGURE_ENV
+= am_cv_python_pythondir
="$(PYTHON_VENDOR_PACKAGES)"
64 CONFIGURE_ENV
+= am_cv_python_pyexecdir
="$(PYTHON_VENDOR_PACKAGES)"
67 COMPONENT_INSTALL_ENV
+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
=1
69 build
: $(BUILD_32_and_64
)
71 install: $(INSTALL_32_and_64
)
73 REQUIRED_PACKAGES
+= library
/libproxy
74 REQUIRED_PACKAGES
+= system
/library
75 REQUIRED_PACKAGES
+= runtime
/python-27
76 REQUIRED_PACKAGES
+= x11
/library
/libx11
77 REQUIRED_PACKAGES
+= x11
/library
/libxmu