From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/libpri/Config.in | 10 ++++++++++ package/libpri/Makefile | 26 ++++++++++++++++++++++++++ package/libpri/ipkg/libpri.control | 5 +++++ package/libpri/patches/patch-Makefile | 12 ++++++++++++ 4 files changed, 53 insertions(+) create mode 100644 package/libpri/Config.in create mode 100644 package/libpri/Makefile create mode 100644 package/libpri/ipkg/libpri.control create mode 100644 package/libpri/patches/patch-Makefile (limited to 'package/libpri') 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` -- cgit v1.2.3