> [...]
> diff --git a/rules/libosip2.make b/rules/libosip2.make
> new file mode 100644
> index 0000000..3d2a372
> --- /dev/null
> +++ b/rules/libosip2.make
> @@ -0,0 +1,55 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2012 by Eivind Versvik <[email protected]>
> +# Copyright (C) 2012 by Wolfram Sang <[email protected]>
> +#
> +# 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_LIBOSIP2) += libosip2
> +
> +#
> +# Paths and names
> +#
> +LIBOSIP2_VERSION := 3.3.0
Why such an "old" version?
> +LIBOSIP2_MD5 := 81493bb4d4ae6d55b71a0d4369339125
> +LIBOSIP2 := libosip2-$(LIBOSIP2_VERSION)
> +LIBOSIP2_SUFFIX := tar.gz
> +LIBOSIP2_URL := $(call ptx/mirror, GNU,
> osip/$(LIBOSIP2).$(LIBOSIP2_SUFFIX))
> +LIBOSIP2_SOURCE := $(SRCDIR)/$(LIBOSIP2).$(LIBOSIP2_SUFFIX)
> +LIBOSIP2_DIR := $(BUILDDIR)/$(LIBOSIP2)
> +LIBOSIP2_LICENSE := LGPLv2.1+
> +
> +#
> ----------------------------------------------------------------------------
> +# Prepare
> +#
> ----------------------------------------------------------------------------
> +
> +LIBOSIP2_CONF_TOOL := autoconf
You should take into account that its configure tries to guess many things.
To get reliable results you need more (this is from my WIP libosib2-3.6.0
implementation):
LIBOSIP2_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--enable-shared \
--disable-static \
--$(call ptx/endis, PTXCONF_LIBOSIP2_DEBUG)-debug \
--$(call ptx/endis, PTXCONF_LIBOSIP2_TRACE)-trace \
--disable-mpatrol \
--disable-gprof \
--enable-mt \
--enable-pthread \
--enable-semaphore \
--disable-sysv \
--disable-gperf \
--disable-hashtable \
--disable-test
# '--enable-minisize' clobbers the library in many strange ways.
# At the end the libeXosip2, depending on the libosip2, cannot be used anymore,
# but also libeXosip2 with '--enable-minisize' breaks the libeXosip2 itself
# So, no way to use this switch in libosip2 and libeXosip2. What a mess.
LIBOSIP2_CONF_OPT += --disable-minisize
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
[email protected]