1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
# -*-makefile-*-
#
# Copyright (C) 2006 by Robert Schwebel
# 2008, 2010 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_COMMONCPP2) += commoncpp2
#
# Paths and names
#
COMMONCPP2_VERSION := 1.8.1
COMMONCPP2_MD5 := 4804b184e609154ba2bc0aa9f61dc6ef
COMMONCPP2 := commoncpp2-$(COMMONCPP2_VERSION)
COMMONCPP2_SUFFIX := tar.gz
COMMONCPP2_SOURCE := $(SRCDIR)/$(COMMONCPP2).$(COMMONCPP2_SUFFIX)
COMMONCPP2_DIR := $(BUILDDIR)/$(COMMONCPP2)
COMMONCPP2_URL := \
http://www.gnutelephony.org/dist/tarballs/$(COMMONCPP2).$(COMMONCPP2_SUFFIX) \
http://www.gnutelephony.org/dist/archive/$(COMMONCPP2).$(COMMONCPP2_SUFFIX)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
COMMONCPP2_PATH := PATH=$(CROSS_PATH)
COMMONCPP2_ENV := $(CROSS_ENV)
COMMONCPP2_MAKE_PAR := NO
#
# autoconf
#
COMMONCPP2_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--disable-debug \
--disable-profiling \
--without-ipv6 \
--without-nat \
--without-gnutls \
--without-openssl \
--without-memaudit \
--without-cppunit
# the logic for these switches is broken in 1.8.0:
# --with-exceptions
# --with-monotonic
# --with-extras
ifndef PTXCONF_COMMONCPP2_LIBZ
COMMONCPP2_AUTOCONF += --without-compression
endif
ifndef PTXCONF_COMMONCPP2_LIBXML2
COMMONCPP2_AUTOCONF += --without-libxml2
endif
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/commoncpp2.targetinstall:
@$(call targetinfo)
@$(call install_init, commoncpp2)
@$(call install_fixup, commoncpp2,PRIORITY,optional)
@$(call install_fixup, commoncpp2,SECTION,base)
@$(call install_fixup, commoncpp2,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, commoncpp2,DESCRIPTION,missing)
@$(call install_lib, commoncpp2, 0, 0, 0644, libccgnu2-1.8)
@$(call install_lib, commoncpp2, 0, 0, 0644, libccext2-1.8)
@$(call install_finish, commoncpp2)
@$(call touch)
# vim: syntax=make
|