mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] rules: add libosip2
@ 2012-03-21  8:33 Wolfram Sang
  2012-03-21  9:08 ` Juergen Beisert
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2012-03-21  8:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Kjell Ove Røte, Eivind Versvik

Signed-off-by: Eivind Versvik <eivind.versvik@zenitel.com>
Signed-off-by: Kjell Ove Røte <Kjell.Ove.Rote@zenitel.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
---
 rules/libosip2.in   |    7 ++++++
 rules/libosip2.make |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+), 0 deletions(-)
 create mode 100644 rules/libosip2.in
 create mode 100644 rules/libosip2.make

diff --git a/rules/libosip2.in b/rules/libosip2.in
new file mode 100644
index 0000000..4483bbc
--- /dev/null
+++ b/rules/libosip2.in
@@ -0,0 +1,7 @@
+## SECTION=system_libraries
+
+config LIBOSIP2
+	tristate
+	prompt "libosip2"
+	help
+	  The GNU oSIP library is an implementation of SIP - rfc3261
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 <eivind.versvik@zenitel.com>
+# Copyright (C) 2012 by Wolfram Sang <w.sang@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_LIBOSIP2) += libosip2
+
+#
+# Paths and names
+#
+LIBOSIP2_VERSION	:= 3.3.0
+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
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libosip2.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libosip2)
+	@$(call install_fixup, libosip2, PRIORITY, optional)
+	@$(call install_fixup, libosip2, SECTION, base)
+	@$(call install_fixup, libosip2, AUTHOR, "Eivind Versvik <eivind.versvik@zenitel.com>")
+	@$(call install_fixup, libosip2, DESCRIPTION, missing)
+
+	@$(call install_lib, libosip2, 0, 0, 0644, libosip2)
+	@$(call install_lib, libosip2, 0, 0, 0644, libosipparser2)
+
+	@$(call install_finish, libosip2)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
1.7.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-21 10:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-21  8:33 [ptxdist] [PATCH] rules: add libosip2 Wolfram Sang
2012-03-21  9:08 ` Juergen Beisert
2012-03-21  9:15   ` Wolfram Sang
2012-03-21  9:23     ` Juergen Beisert
2012-03-21 10:37       ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox