summaryrefslogtreecommitdiff
path: root/package/libpri
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/libpri
Initial import
Diffstat (limited to 'package/libpri')
-rw-r--r--package/libpri/Config.in10
-rw-r--r--package/libpri/Makefile26
-rw-r--r--package/libpri/ipkg/libpri.control5
-rw-r--r--package/libpri/patches/patch-Makefile12
4 files changed, 53 insertions, 0 deletions
diff --git a/package/libpri/Config.in b/package/libpri/Config.in
new file mode 100644
index 000000000..b39ab031b
--- /dev/null
+++ b/package/libpri/Config.in
@@ -0,0 +1,10 @@
+config ADK_PACKAGE_LIBPRI
+ prompt "libpri............................ Primary Rate ISDN Library"
+ tristate
+ default n
+ help
+ libpri is a C implementation of the Primary Rate ISDN specification. It was
+ based on the Bellcore specification SR-NWT-002343 for National ISDN. As of
+ May 12, 2001, it has been tested work with NI-2, Nortel DMS-100, and
+ Lucent 5E Custom protocols on switches from Nortel and Lucent.
+
diff --git a/package/libpri/Makefile b/package/libpri/Makefile
new file mode 100644
index 000000000..ab2619805
--- /dev/null
+++ b/package/libpri/Makefile
@@ -0,0 +1,26 @@
+# $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:= libpri
+PKG_VERSION:= 1.2.7
+PKG_RELEASE:= 1
+PKG_MD5SUM:= b9354f420304afa7b8923615a117b9c6
+MASTER_SITES:= http://www.asterisk-support.de/mirror/libpri/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBPRI,libpri,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+BUILD_STYLE:= auto
+MAKE_FLAGS+= CC='${TARGET_CC}'
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBPRI}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libpri.so.* ${IDIR_LIBPRI}/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libpri/ipkg/libpri.control b/package/libpri/ipkg/libpri.control
new file mode 100644
index 000000000..029fa4450
--- /dev/null
+++ b/package/libpri/ipkg/libpri.control
@@ -0,0 +1,5 @@
+Package: libpri
+Priority: optional
+Section: libs
+Depends:
+Description: C implementation of the Primary Rate ISDN specification
diff --git a/package/libpri/patches/patch-Makefile b/package/libpri/patches/patch-Makefile
new file mode 100644
index 000000000..d1fb6c1c7
--- /dev/null
+++ b/package/libpri/patches/patch-Makefile
@@ -0,0 +1,12 @@
+$Id$
+
+ submitted upstream as http://bugs.digium.com/view.php?id=10253
+
+--- libpri-1.2.4.orig/Makefile 2006-04-30 17:17:47.000000000 +0200
++++ libpri-1.2.4/Makefile 2007-06-29 19:34:16.000000000 +0200
+@@ -144,4 +144,4 @@ clean:
+ depend: .depend
+
+ .depend:
+- CC=$(CC) ./mkdep ${CFLAGS} `ls *.c`
++ CC="$(CC)" ./mkdep ${CFLAGS} `ls *.c`