summaryrefslogtreecommitdiff
path: root/package/libosip2
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libosip2
Initial import
Diffstat (limited to 'package/libosip2')
-rw-r--r--package/libosip2/Config.in9
-rw-r--r--package/libosip2/Makefile30
-rw-r--r--package/libosip2/ipkg/libosip2.control5
3 files changed, 44 insertions, 0 deletions
diff --git a/package/libosip2/Config.in b/package/libosip2/Config.in
new file mode 100644
index 000000000..7e7bb3477
--- /dev/null
+++ b/package/libosip2/Config.in
@@ -0,0 +1,9 @@
+config ADK_PACKAGE_LIBOSIP2
+ prompt "libosip2.......................... The GNU oSIP library"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBPTHREAD
+ help
+ GNU oSIP library, a Session Initiation Protocol (SIP) implementation
+
+ http://www.gnu.org/software/osip/
diff --git a/package/libosip2/Makefile b/package/libosip2/Makefile
new file mode 100644
index 000000000..201102c6a
--- /dev/null
+++ b/package/libosip2/Makefile
@@ -0,0 +1,30 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= libosip2
+PKG_VERSION:= 2.2.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= f1237af0250c59b318bd64a59f5750ea
+MASTER_SITES:= ${MASTER_SITE_GNU:=osip/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBOSIP2,libosip2,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= --disable-trace \
+ --enable-pthread \
+ --enable-semaphore \
+ --enable-ntimer
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBOSIP2}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libosip{,parser}2.so.* ${IDIR_LIBOSIP2}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libosip2/ipkg/libosip2.control b/package/libosip2/ipkg/libosip2.control
new file mode 100644
index 000000000..706c3e465
--- /dev/null
+++ b/package/libosip2/ipkg/libosip2.control
@@ -0,0 +1,5 @@
+Package: libosip2
+Priority: optional
+Section: libs
+Description: GNU oSIP library, a SIP (Session Initiation Protocol) implementation
+Depends: libpthread