commit | author | age
|
f0e54c
|
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 2014 Alexander Pyhalov. All rights reserved. |
a5c557
|
14 |
# Copyright 2016 Aurelien Larcher. All rights reserved. |
f0e54c
|
15 |
# |
AP |
16 |
|
a5c557
|
17 |
include ../../../make-rules/shared-macros.mk |
f0e54c
|
18 |
|
AP |
19 |
COMPONENT_NAME= ptlib |
c581a3
|
20 |
COMPONENT_VERSION= 2.10.11 |
94c688
|
21 |
COMPONENT_REVISION= 4 |
f0e54c
|
22 |
COMPONENT_SUMMARY= PTLib Class Library |
AP |
23 |
COMPONENT_PROJECT_URL = http://www.gnome.org |
c581a3
|
24 |
COMPONENT_FMRI=library/desktop/ptlib |
AL |
25 |
COMPONENT_CLASSIFICATION=Desktop (GNOME)/Libraries |
|
26 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
27 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
|
28 |
COMPONENT_ARCHIVE_HASH= \ |
|
29 |
sha256:3a17f01d66301663f76130b425d93c2730f2a33df666982165166ff4653dc2c9 |
|
30 |
COMPONENT_ARCHIVE_URL= \ |
|
31 |
http://ftp.gnome.org/pub/gnome/sources/ptlib/2.10/$(COMPONENT_ARCHIVE) |
|
32 |
COMPONENT_LICENSE= MPLv1.0 |
f0e54c
|
33 |
|
d401de
|
34 |
CONFIGURE_FIX_LIBTOOL_RPATH = no |
AP |
35 |
|
c581a3
|
36 |
include $(WS_MAKE_RULES)/prep.mk |
AL |
37 |
include $(WS_MAKE_RULES)/configure.mk |
|
38 |
include $(WS_MAKE_RULES)/ips.mk |
f0e54c
|
39 |
|
AP |
40 |
COMPONENT_PREP_ACTION=( cd $(@D)/plugins && aclocal && autoconf &&\ |
|
41 |
cd $(@D)&& aclocal && autoconf) |
|
42 |
|
|
43 |
# Missing files in build dir for configure without this. |
|
44 |
COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
|
45 |
|
|
46 |
CONFIGURE_OPTIONS += --sysconfdir=/etc |
|
47 |
CONFIGURE_OPTIONS += --enable-plugins |
|
48 |
CONFIGURE_OPTIONS += --enable-resolver |
|
49 |
CONFIGURE_OPTIONS += --enable-opal |
|
50 |
CONFIGURE_OPTIONS += --disable-openssl |
|
51 |
CONFIGURE_OPTIONS += --enable-sunaudio |
|
52 |
CONFIGURE_OPTIONS += --enable-url |
|
53 |
CONFIGURE_OPTIONS += --enable-http |
|
54 |
CONFIGURE_OPTIONS += --enable-httpforms |
|
55 |
CONFIGURE_OPTIONS += --enable-httpsvc |
|
56 |
CONFIGURE_OPTIONS += --enable-v4l2 |
c581a3
|
57 |
CONFIGURE_OPTIONS += --enable-lua |
f0e54c
|
58 |
|
94c688
|
59 |
COMPONENT_POST_INSTALL_ACTION= \ |
AP |
60 |
(cd $(PROTOUSRDIR) ; \ |
|
61 |
$(MV) include/ptbuildopts.h include/ptbuildopts-$(BITS).h ) |
|
62 |
|
539cf7
|
63 |
ENV += -i |
f0e54c
|
64 |
|
94c688
|
65 |
build: $(BUILD_32_and_64) |
f0e54c
|
66 |
|
94c688
|
67 |
install: $(INSTALL_32_and_64) |
f0e54c
|
68 |
|
AP |
69 |
test: $(NO_TESTS) |
c581a3
|
70 |
|
AL |
71 |
REQUIRED_PACKAGES += library/audio/pulseaudio |
|
72 |
REQUIRED_PACKAGES += library/expat |
|
73 |
REQUIRED_PACKAGES += library/sdl |
|
74 |
REQUIRED_PACKAGES += runtime/lua |
|
75 |
REQUIRED_PACKAGES += system/library |
6e938f
|
76 |
REQUIRED_PACKAGES += system/library/g++-6-runtime |
969846
|
77 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |